[Bugs] [Bug 1312762] [geo-rep]: Session goes to faulty with Errno 13: Permission denied

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 9 11:02:39 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13643 committed in release-3.7 by Aravinda VK
(avishwan at redhat.com) 
------
commit 2199acfd04b1e70fc6484a89196e7b9e4abb7208
Author: Aravinda VK <avishwan at redhat.com>
Date:   Mon Feb 29 14:05:54 2016 +0530

    geo-rep: Fix Entry Creation issue with non root UID/GID

    During entry_ops RENAME Geo-rep sends stat info along with the
    recorded info from Changelog. In Slave side if Source file exists
    Geo-rep renames to Target file by calling os.rename. If source file
    does not exists, it tries to create Target file directly using available
    stat info from Master. If UID and GID are different in Master for that
    file then stat info will have different UID/GID during Create. Geo-rep
    gets EACCES when it tries to create a new entry using gfid-access with
    different UID/GID.

    With this patch, Entry creation with different UID/GID is split into two
    operations. Create Entry with UID:0 and GID:0 and then set UID/GID.

    Change-Id: I4987e3a205d8513c06fa66198cde145a87003a01
    BUG: 1312762
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on:http://review.gluster.org/13542
    Reviewed-on: http://review.gluster.org/13643
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kotresh HR <khiremat at redhat.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=PNDgfNyBJg&a=cc_unsubscribe


More information about the Bugs mailing list