Linux/centos

ls 퍼미션에 .의 의미

구차니 2020. 4. 1. 16:59

drwr-xr-x. 이라고 표시되는 게 있는데

selinux security context가 있을 경우 . 으로 표기 된다고 한다.

+로 표기 되는건 다른 alternate access method의 조합이 있을 경우라는데 그게 어떤 의미인진 모르겠다.

setfacl로 세부 조정된 내용이 있으면 +가 뜨는 걸까?

 

from info coreutils 'ls invocation' under Linux

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.

[링크 : https://stackoverflow.com/.../what-does-the-dot-at-the-end-of-the-permissions-in-the-output-of-ls-lah-mean]