Red Hat Bugzilla – Bug 156780
mount -o remount,acl doesn't enable ACLs
Last modified: 2010-01-11 22:04:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1
Description of problem:
Other nodes have mounted a GFS filesystem with -o acl. ACLs work for the nodes that have mounted the filesystem with acl from the beginning.
On a node where ACLs were not activated on the initial mount, a remount does not enable the ACLS.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mount -t gfs /dev/pool/bla /mnt/bla
2. mount -o remount,acl /mnt/bla
Actual Results: ACLs are reported by mount and ls, however if I try to access the file I get "Permission Denied"
Expected Results: An open file :)
mount -t gfs -o acl /dev/pool/bla /mnt/bla
This is fixed in RHEL3 and RHEL4 now. gfs wasn't looking at the remount options.
In RHEL3, once you enable acls. you cannot use -o remount to disable them. This
is true for all filesystems, as far as I can tell. In RHEL4, using -o remount
(without the 'acl' option) will disable ACLs if they were previously enabled.
Again this is true for other filesystems as well.
fix verified in GFS 2.6.9-40.0 (built Aug 31 2005 14:04:50)