getfacl doesn't show same output as ls?
Scott Mcdermott <[email protected]> Mon, 7 Jun 2004 22:08:38 -0400
| Newsgroups | gmane.linux.file-systems.acl.devel |
|---|---|
| Message-ID | <[email protected]> |
I have Linux 2.4.25-pre8 + EA/ACL patches 0.8.65.
I have coreutils with ACL patches from about one year ago, I
can get more specific information here if needed.
I see the following behavior, which I do not understand
after reading acl(5):
$ 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? `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?
Thanks for any help.
_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel