[lug] ls -l output...fedora versus ubuntu

Dan Mackin dan at appliedtrust.com
Fri Feb 13 12:45:10 MST 2015


It's used to denote an alternative access list that's be applied to the
file. In the case of fedora, SELinux security context is being applied to
that file. Could test by temporarily disabling selinux and see if it still
shows up...
-Dan

On Fri, Feb 13, 2015 at 12:38 PM, <stimits at comcast.net> wrote:

> Hi,
>
> I just noticed a single character which is different between a fedora 19
> machine and an ubuntu 14.04 LTS, at the end of the permissions portion of
> ls. So here's an example from fedora:
> /bin/ls -lnd --time-style=long-iso --color=never /tmp
> drwxrwxrwt. 15 0 0 560 2015-02-13 12:22 /tmp
>
> Here's the same thing from ubuntu:
> /bin/ls -lnd --time-style=long-iso --color=never /tmp
> drwxrwxrwt 5 0 0 4096 2000-01-01 00:01 /tmp
>
> In the case of ubuntu I see what is expected for permissiosn:
> drwxrwxrwt
>
> In the case of fedora, I see an extra character, a "radix" or "period", at
> the end of permissions...it's one extra character:
> drwxrwxrwt.
>
> Does anyone know if this period has any meaning? I'm working with a script
> that needs to work the same on all of the modern linux flavors, and am not
> sure of the nature of this difference.
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>



-- 
------
 Dan Mackin - http://appliedtrust.com/dan
 AppliedTrust - http://appliedtrust.com - 303.245.4516
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20150213/7337b4b1/attachment.html>


More information about the LUG mailing list