Bug 1229567
| Summary: | context of access control translator should be updated properly for GF_POSIX_ACL_*_KEY xattrs | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Jiffin <jthottan> |
| Component: | glusterfs | Assignee: | Jiffin <jthottan> |
| Status: | CLOSED ERRATA | QA Contact: | Apeksha <akhakhar> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | rhgs-3.1 | CC: | akhakhar, annair, ansubram, asrivast, jthottan, kkeithle, mmadhusu, ndevos, nlevinki, saujain, skoduri, vagarwal, vbellur |
| Target Milestone: | --- | ||
| Target Release: | RHGS 3.1.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.1-8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1226807 | Environment: | |
| Last Closed: | 2015-07-29 04:59:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1215174, 1226807, 1228155, 1229564, 1229860, 1230327 | ||
| Bug Blocks: | 1202842 | ||
|
Description
Jiffin
2015-06-09 06:02:06 UTC
This is a known issue , should be fixed in next release. It is related to access control translator in gluster code, when an acl is set on directory , it update the in memory context of access control translator. A simple workaround for this issue is perform 'ls' on the directory after setting the acl. The patch is posted at https://code.engineering.redhat.com/gerrit/#/c/52284/ This one fixed is in https://code.engineering.redhat.com/gerrit/#/c/52284/ nfs4_setfacl succeeds.
Output:
# mkdir /mnt/vol5/src1
# nfs4_setfacl -a A:gdf:acl_group.blr.redhat.com:RWX /mnt/vol5/src1
# nfs4_getfacl /mnt/vol5/src1/
A::OWNER@:rwaDxtTcCy
A::GROUP@:rxtcy
A:g:acl_group.blr.redhat.com:rwaDxtcy
A::EVERYONE@:rxtcy
A:fdi:OWNER@:tcy
A:fdi:GROUP@:tcy
A:fdig:acl_group.blr.redhat.com:rwaDxtcy
A:fdi:EVERYONE@:tcy
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1495.html |