You can show the access control list permissions of a file with the getfacl command.
Create directory:
$ mkdir dir
$ ls -dl dir
drwxr-xr-x 2 krobbe users 4096 Jul 7 09:40 dir
Show acl permissions of directory:
$ getfacl dir
$ file: dir
$ owner: krobbe
$ group: users
user::rwx
group::r-x
other::r-x
This shows the directory permissions for user, group and other classes of user.
No comments:
Post a Comment
Please feel free to leave a comment