[Gllug] file permissions on redhat 6

- Tethys tethys at gmail.com
Tue Aug 24 10:37:18 UTC 2010


On Tue, Aug 24, 2010 at 11:03 AM, Alain Williams <addw at phcomp.co.uk> wrote:

> I am playing with a beta of the up coming redhat enterprise 6.
>
> I notice that at the end of the permissions with 'ls -l' there is an extra character,
> it always seems to be a '.'. Can someone point me to where I can find out what it is
> about. The 'man' command don't help:
>
>        -rw-r--r--. 1 root root 908 Jul 29 18:25 /etc/passwd

It shows that the file has an SELinux security context. It's been in
Fedora for quite a while now. From the GNU Coreutils docs:

> Following the file mode bits is a single character that specifies
> whether an alternate access method such as an access control list
> applies to the file. When the character following the file mode
> bits is a space, there is no alternate access method. When it is
> a printing character, then there is such a method.
>
> GNU ls uses a ‘.’ character to indicate a file with an SELinux
> security context, but no other alternate access method.

Tet

-- 
“It seems intuitively obvious to me, which means that it might be
wrong.” -- Chris Torek
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list