tar
Windows 및 RHEL 시스템 untar
에 폴더가 있습니다 . ls -l
표시 .
파일 모드와 폴더는 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
.
파일 끝 패턴은 무엇을 의미합니까?
답변1
이는 해당 파일에 SELinux
보안 컨텍스트가 있음을 나타냅니다.
에서 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.