Re: can modify an ACL entry with read/write but not read only?

Scott Mcdermott <[email protected]> Wed, 8 Dec 2004 22:04:55 -0800
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
To [email protected] on Wed  8/12 14:03 -0800:
> I do not understand this behavior:
> 
>      $ getfacl .
>     # file: .
>     # owner: a2bcm
>     # group: pdt
>     user::rwx
>     user:a2bcm:rwx
>     group::rwx
>     group:teamleads:r-x
>     mask::rwx
>     other::r-x
> 
>      $ getfacl foo,v
>     # file: foo,v
>     # owner: scarey
>     # group: quser
>     user::r--
>     user:a2bcm:rw-
>     group::r--
>     group:teamleads:r--
>     mask::rw-
>     other::r--
> 
>      $ s -u a2bcm setfacl -m u:a2bcm:r foo,v
>     setfacl: foo,v: Operation not permitted
> 
>      $ s -u a2bcm setfacl -m u:a2bcm:rw foo,v

I just realized I posted the example with my shell alias, so
it might be confusing.  s==sudo in above example.  Just
means I ran setfacl command as that user.
_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel