[ale] ls -l shows unknown attribute

Michael Trausch mike at trausch.us
Fri Nov 5 12:39:57 EDT 2010


Note also that it can mean that there were extended permissions that have
since been removed. I don't think (need to check) that generic xattrs show
up that way, but it is possible that they do.

--
Sent from my Android-powered G2.
On Nov 5, 2010 12:37 PM, "Michael Trausch" <mike at trausch.us> wrote:
> That means that there are ACLs that aren't being shown---that is, there
are
> additional permissions present on that data. See the manpage for getfacl:
>
>
>
> 2010-11-05 16:36:24 UTC (Linux 2.6.32.7)
> <mbt at spicerack.trausch.us> ~ $ touch foo
>
> 2010-11-05 16:36:30 UTC (Linux 2.6.32.7)
> <mbt at spicerack.trausch.us> ~ $ ls -l foo
> -rw-r--r-- 1 mbt mbt 0 Nov 5 16:36 foo
>
> 2010-11-05 16:36:33 UTC (Linux 2.6.32.7)
> <mbt at spicerack.trausch.us> ~ $ setfacl -m u:halcyon:rw foo
>
> 2010-11-05 16:36:46 UTC (Linux 2.6.32.7)
> <mbt at spicerack.trausch.us> ~ $ ls -l foo
> -rw-rw-r--+ 1 mbt mbt 0 Nov 5 16:36 foo
>
> 2010-11-05 16:36:51 UTC (Linux 2.6.32.7)
> <mbt at spicerack.trausch.us> ~ $ getfacl foo
> # file: foo
> # owner: mbt
> # group: mbt
> user::rw-
> user:halcyon:rw-
> group::r--
> mask::rw-
> other::r--
>
>
> 2010-11-05 16:36:56 UTC (Linux 2.6.32.7)
> <mbt at spicerack.trausch.us> ~ $
>
> --
> Sent from my Android-powered G2.
> On Nov 5, 2010 12:23 PM, "Jim Kinney" <jim.kinney at gmail.com> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20101105/c0d45077/attachment.html 


More information about the Ale mailing list