Re: getfacl doesn't show same output as ls?
David Kleikamp <[email protected]> 07 Jun 2004 21:33:12 -0500
| Newsgroups | gmane.linux.file-systems.acl.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2004-06-07 at 21:08, Scott Mcdermott wrote: > $ getfacl thistestfile > # file: thistestfile > # owner: smcdermott > # group: qdn > user::rw- > user:smcdermott:rwx #effective:rw- > group::r-x #effective:r-- > mask::rw- > other::r-- > > $ ls -l thistestfile > -rw-rw-r--+ 1 smcdermott qdn 0 Jun 7 19:59 > thistestfile > > I do not understand why `ls -l' shows ACL_GROUP_OBJ having > the write bit, but the "group::r-x" in getfacl(1) shows it > without? The group permissions in 'ls -l' show the ACL_MASK rather than ACL_GROUP_OBJ. The man page mentions this under the section "CORRESPONDENCE BETWEEN ACL ENTRIES AND FILE PERMISSION BITS". > `ls -l' does show the ACL_USER_OBJ, ACL_GROUP_OBJ > and ACL_OTHER permissions, correct? And is not the > "group::r-x" the entry corresponding to the object's group > (in this case group: qdn)?" I'm sure this is something > simple I'm missing, does anyone know what? _______________________________________________ acl-devel mailing list [email protected] http://acl.bestbits.at/mailman/listinfo/acl-devel