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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to