[Bugs] [Bug 1305749] Vim commands from a non-root user fails to execute on fuse mount with trash feature enabled

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 8 15:29:57 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1305749



--- Comment #5 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13401 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit ccdfd9f8550e1d1f9d311eb997f23c9b10c7a70b
Author: Anoop C S <anoopcs at redhat.com>
Date:   Wed Feb 3 18:24:20 2016 +0530

    features/trash: Handle unlink unwind properly

    When enabled, trash translator does a rename
    internally for every unlink request and unwinds
    the original unlink call. But this was unwinded
    back with prerparent and postparent as NULL which
    resulted in changing the parent directory
    permissions to 000.

    This issue is consistently seen as a failure
    when a non-root user executes vim commands which
    internally tries to perform stat operations (as
    part of swap/backup file creation) on a file
    whose parent directory's permission was modified
    to 000 due to recent unlink for another file
    inside the same directory.

    >Change-Id: I161a036b37fb815866d50d2d6260ff0ad22d7223
    >BUG: 1302307
    >Signed-off-by: Anoop C S <anoopcs at redhat.com>
    >Reviewed-on: http://review.gluster.org/13346
    >Smoke: Gluster Build System <jenkins at build.gluster.com>
    >Tested-by: jiffin tony Thottan <jthottan at redhat.com>
    >Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    >CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    >NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    (cherry picked from commit b609a55be4119c44b19252bd951780a78deb21c9)

    Signed-off-by: Anoop C S <anoopcs at redhat.com>
    Change-Id: I88950b7d2e42bda65272bc359e8dc60a2ce04d89
    BUG: 1305749
    Reviewed-on: http://review.gluster.org/13401
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=YBqY0NvnZM&a=cc_unsubscribe


More information about the Bugs mailing list