Fwd: Re: Behaviour of 'file group' acl entries

Matt McCutchen <[email protected]> Wed, 19 Apr 2006 20:50:07 -0400
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <1145494207.2165.15.camel@mattlaptop>
On Thu, 2006-04-20 at 09:54 +0930, Kevin Shanahan wrote:
> I'm seeing what looks like a mismatch between the 'file group' ACL entry
> permissions and the standard unix permissions; for example on this
> directory:

The S_IRWXG permission bits correspond to the mask ACL entry if there is
one.  Only when there is no mask do the bits correspond to the
group-owner entry.  See `man 5 acl` for details.

This behavior is good because chmodding a file go-rwx still ensures that
only the user-owner can access it and programs that see a file of mode
600 can be confident that only the user-owner can access it.

-- 
Matt McCutchen
[email protected]
http://hashproduct.metaesthetics.net/

_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel