Bug 1459972
Summary: | posix-acl: Whitelist virtual ACL xattrs | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Soumya Koduri <skoduri> | |
Component: | core | Assignee: | Soumya Koduri <skoduri> | |
Status: | CLOSED ERRATA | QA Contact: | Manisha Saini <msaini> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.3 | CC: | amukherj, bugs, rhs-bugs, storage-qa-internal | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | RHGS 3.3.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8.4-28 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1459971 | |||
: | 1460647 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-21 04:59:42 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: | 1459971, 1460649, 1460650 | |||
Bug Blocks: | 1417151, 1441131 |
Description
Soumya Koduri
2017-06-08 17:24:22 UTC
Patch posted upstream for review - https://review.gluster.org/17493 I believe this issue blocks BZ 1450836 and given the later is already approved for rhgs-3.3.0, this bug needs to be fixed for rhgs-3.3.0 and hence giving devel_ack. Downstream patch: https://code.engineering.redhat.com/gerrit/108787 Verified this bug on # rpm -qa | grep ganesha glusterfs-ganesha-3.8.4-34.el7rhgs.x86_64 nfs-ganesha-2.4.4-16.el7rhgs.x86_64 nfs-ganesha-gluster-2.4.4-16.el7rhgs.x86_64 ----------- Reproduced on 3.2 ----------- [root@dhcp37-192 posix]# touch ms [root@dhcp37-192 posix]# ll total 0 -rw-r--r--. 1 root root 0 Jul 24 13:07 ms [root@dhcp37-192 posix]# chmod 700 ms [root@dhcp37-192 posix]# ll total 0 -rwx------. 1 root root 0 Jul 24 13:07 ms [root@dhcp37-192 posix]# getfattr -n glusterfs.posix.acl /mnt/ganesha32_async/posix/ms getfattr: Removing leading '/' from absolute path names # file: mnt/ganesha32_async/posix/ms glusterfs.posix.acl="u::rwx,g::---,o::---" [root@dhcp37-192 posix]# su user1 [user1@dhcp37-192 posix]$ getfattr -n glusterfs.posix.acl /mnt/ganesha32_async/posix/ms /mnt/ganesha32_async/posix/ms: glusterfs.posix.acl: Permission denied [user1@dhcp37-192 posix]$ =================================== ---------- Verified on 3.3. ---------- [root@dhcp37-192 posix]# touch ms [root@dhcp37-192 posix]# ll total 0 -rw-r--r--. 1 root root 0 Jul 24 13:08 ms [root@dhcp37-192 posix]# chmod 700 ms [root@dhcp37-192 posix]# ll total 0 -rwx------. 1 root root 0 Jul 24 13:08 ms [root@dhcp37-192 posix]# getfattr -n glusterfs.posix.acl /mnt/ganesha33_disperse/posix/ms getfattr: Removing leading '/' from absolute path names # file: mnt/ganesha33_disperse/posix/ms glusterfs.posix.acl="u::rwx,g::---,o::---" [root@dhcp37-192 posix]# su user1 [user1@dhcp37-192 posix]$ getfattr -n glusterfs.posix.acl /mnt/ganesha33_disperse/posix/ms getfattr: Removing leading '/' from absolute path names # file: mnt/ganesha33_disperse/posix/ms glusterfs.posix.acl="u::rwx,g::---,o::---" Moving this bug to verified state. 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://access.redhat.com/errata/RHBA-2017:2774 |