[Bugs] [Bug 1409727] [ganesha + EC] posix compliance rename tests failed on EC volume with nfs-ganesha mount.

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 5 14:07:22 UTC 2017


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



--- Comment #5 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16317 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 0b9af18eade6583299b88b4e685b02114db7834a
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Tue Jan 3 12:50:54 2017 +0530

    cluster/dht: Do rename cleanup as root

    Problem:
    Rename linkfile cleanup is done as non-root which may not have priviliges
to do
    the rename so it fails with EACCESS. MKDIR on that name in future will
start to
    hole on this subvolume. It is not easy to hit on fuse mounts because vfs
takes
    care of the permission checks even before rename fop is wound. But with
    nfs-ganesha mounts it happens.

    Fix:
    Do rename cleanup as root

    BUG: 1409727
    Change-Id: I414c1eb6dce76b4516a6c940557b249e6c3f22f4
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/16317
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>

-- 
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=cev1U3szF8&a=cc_unsubscribe


More information about the Bugs mailing list