ACL mask shanging group perms

Grzegorz Czaplinski G.Czaplinski at prioris.mini.pw.edu.pl
Thu Feb 5 13:21:55 PST 2004


On Thu, Feb 05, 2004 at 10:24:40AM -0700, Jerad Hampton wrote:
> Is anyone using acls on there file sytstem?
> 
> When I change an acl it also sets the unix g permissions the same as the mask
> 
> orca# ll
> total 4
> -rw-r-x---+ 1 root  users  68 Feb  5 09:58 index.html
> orca# getfacl index.html 
> #file:index.html
> #owner:0
> #group:1000
> user::rw-
> user:nobody:r-x
> group::---
> mask::r-x
> other::---
> orca# setfacl -m u:nobody:rwx index.html
> orca# ll
> total 4
> -rw-rwx---+ 1 root  users  68 Feb  5 10:24 index.html
> orca# getfacl index.html 
> #file:index.html
> #owner:0
> #group:1000
> user::rw-
> user:nobody:rwx
> group::---
> mask::rwx
> other::---
> orca# 
> 
> I don't think this is normal behavior.  Any sugestions?
> 


It's how it works on according to spec.
Use -n switch to prevent recalculating the mask.

You may want to read:
http://ezine.daemonnews.org/200310/acl.html

	greg
--
Grzegorz Czaplinski <gregory at prioris.mini.pw.edu.pl>
"The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040205/ab08f532/attachment.bin


More information about the freebsd-questions mailing list