file permissions

Amadeus W.M. amadeus84 at verizon.net
Wed Jul 15 12:54:24 UTC 2009


On Tue, 14 Jul 2009 22:25:28 -0430, Patrick O'Callaghan wrote:

> On Wed, 2009-07-15 at 02:22 +0000, Amadeus W.M. wrote:
>> Looking at file permissions, I see there is a . at the end of the
>> permissions. As in
>> 
>> 
>> [root at phoenix ~]# ls -l somefile
>> -rw-r--r--. 1 root root 0 2009-07-14 22:20 somefile
>> 
>>           ^
>>         here
>> 
>> That's new to me. What does it mean? Where is it documented?
> 
>>From "info coreutils 'ls invocation'":
> 
>      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.
> 
>      A file with any other combination of alternate access methods is
>      marked with a `+' character.
> 
> poc


Thank you, I suspected it had to be SELinux. Guess I've never seen it till 
now because I've never used SELinux till now. 





More information about the users mailing list