Mail Archives: cygwin/2001/06/22/13:16:12
On Thu, Jun 21, 2001 at 08:49:12PM -0400, Charles S. Wilson wrote:
> I tried the following command (as Administrator=500, who's in group 545
> and 500.545 owns the file)
> $ setfacl -s user::rw-,group::---,other::---,mask::--- foo
> setfacl: missing entries.
>
> $ setfacl -d group:1000 foo
> <succeeded>
> $ setfacl -d group:545 foo
> <succeeded>
> $ setfacl -d user:1002 foo
> <succeeded>
> $ getfacl foo
> # file: foo
> # owner: 500
> # group: 544
> user::rw-
> group::rw-
> mask::rw-
> other::rw-
>
> Okay, after removing the extra stuff by hand, try again:
> $ setfacl -s user::rw-,group::---,other::---,mask::--- foo
>
> setfacl: missing entries.
>
>
> Aarrgh. Okay, try it piecemeal:
> $ setfacl -m user::rwx
> <no error reported>
> $ setfacl -m group::---
> <no error reported>
> $ setfacl -m other::---
> setfacl: illegal acl entries
> $ setfacl -m mask::---
> setfacl: illegal acl entries
> $ getfacl foo
> ~ > getfacl foo
> # file: foo
> # owner: 500
> # group: 544
> user::rw-
> group::rw-
> mask::rw-
> other::rwx
>
> !!!! the user:: perms were applied to other::, and the group perms
> didn't take effect. (And, of course, the other:: and mask:: perms
> commands failed)
>
> What gives? I do NOT understand ACLs.
Hmm, obviously `setfacl' doesn't understand ACLs as well...
Thank god we have the sourcecode in the utils subdir.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -