December 2017
Intermediate to advanced
410 pages
11h 5m
English
If you want to see what are the ACL associated with the file, we can make use of the getfacl command. The syntax is quite simple:
# getfacl filename
So, in our case, it will be as follows:
[root@ip-10-61-0-195 tmp]# getfacl file.txt
Which gives the output as:
# file: file.txt# owner: kplabs# group: kplabsuser::rw-user:andy:r--user:bob:r--user:james:rwxgroup::r--mask::rwxother::r--
Read now
Unlock full access