How to check permissions of a specific directory?

后端 未结 10 462
无人共我
无人共我 2021-01-29 17:32

I know that using ls -l \"directory/directory/filename\" tells me the permissions of a file. How do I do the same on a directory?

I could obviously use

10条回答
  •  礼貌的吻别
    2021-01-29 17:58

    There is also

    getfacl /directory/directory/
    

    which includes ACL

    A good introduction on Linux ACL here

提交回复
热议问题