What does the dot at the end of the permissions in the output of “ls -lah” mean?

后端 未结 3 1536
南方客
南方客 2020-12-16 19:49

I found some Linux files, and when I type ls -lah, it outputs this permissions format:

... 
drwxr-xr-x.  2 root    root  
...
-rw-rw-r--.  1 roo         


        
3条回答
  •  温柔的废话
    2020-12-16 20:16

    From GNU.org under what information is listed:

    GNU ls uses a ‘.’ character to indicate a file with a SELinux security context, but no other alternate access method.

    This basically implies that the file has an Access Control List (ACL) with SELinux. You can set or delete ACL association for a file by using the setfacl command

提交回复
热议问题