. (ponto) no modo de arquivo [duplicado]

4

Eu tar uma pasta no windows e untar na máquina do RHEL. ls -l mostra um . no modo de arquivo e as pastas estão em blue + yellow background .

[root@xt-storage-01 apache-tomcat-8.0.5]# ls -l
total 120
drwxrwxrwx. 2 root root  4096 Jul 24 11:18 bin
drwxrwxrwx. 2 root root  4096 Jul 24 11:18 conf
drwxrwxrwx. 2 root root  4096 Jul 24 11:18 lib

qual é o significado de . no final do modo de arquivo?

    
por sandeep 24.07.2014 / 05:50

1 resposta

3

Indica que esses arquivos estão com SELinux contexto de segurança.

De info ls :

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.
    
por 24.07.2014 / 05:56

Tags