[Bugs] [Bug 1230327] context of access control translator should be updated properly for GF_POSIX_ACL_*_KEY xattrs
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jul 3 11:39:22 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1230327
--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11519 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com)
------
commit 4df4c2092478a9813b6bb4b4ee00ed8f4ca2fea0
Author: Jiffin Tony Thottan <jthottan at redhat.com>
Date: Wed Jun 10 00:08:39 2015 +0530
access-control : validating context of access control translator
By introduction of new acl conversion from
http://review.gluster.org/#/c/9627/,
an acl can be set using GF_POSIX_ACL_*_KEY xattrs without notifying the
access-control translator. So evenif an acl is set correctly at the
backend, it
might not work properly because access-control holds wrong acl information
in
its context about that file.
Note : This is a simple workaround. The actual solution consists of three
steps:
1.) Use new acl api's for acl conversion.
2.) Move the acl conversion part from access-control translator
3.) Introduces standard acl structures and libaries in access-translator
for caching, enforcing purposes.
Backport of http://review.gluster.org/#/c/11144/
>Change-Id: Iacb6b323810ebe82f7f171f20be16429463cbcf0
>BUG: 1229860
>Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
>Reviewed-on: http://review.gluster.org/11144
>Reviewed-by: Niels de Vos <ndevos at redhat.com>
>Tested-by: Gluster Build System <jenkins at build.gluster.com>
>Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
>cherry-picked from 81cb71e9317e380b1d414038223c72643b35e664
Change-Id: I935f28704a2d401df8224f5042bf7b38177a8a0f
BUG: 1230327
Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
Reviewed-on: http://review.gluster.org/11519
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle 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=YxECbjmveI&a=cc_unsubscribe
More information about the Bugs
mailing list