[Bugs] [Bug 1405147] glusterfs (posix-acl xlator layer) checks for " write permission" instead for "file owner" during open() when writing to a file

bugzilla at redhat.com bugzilla at redhat.com
Fri May 25 07:02:37 UTC 2018


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

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #14 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20084 committed in master by "Raghavendra G"
<rgowdapp at redhat.com> with a commit message- performance/open-behind: open
pending fds before permission change

setattr, posix-acl and selinux changes on a file can revoke permission
to open the file after permission changes. To prevent that, make sure
the pending fd is opened before winding down setattr or setxattr (for
posix-acl and selinux) calls.

Change-Id: Ib0b91795d286072e445190f9a1b3b1e9cd363282
Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
fixes: bz#1405147

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


More information about the Bugs mailing list