Displaying ACL Information
With the ls
command, you can display ACL information in one of two formats. The -v
option displays the permissions in full or verbose form. The -V
option generates compact output by using letters that represent the permissions and flags.
The following example shows how the same ACL information is displayed in both verbose and compact format:
$ ls -v file.1 -rw-r--r-- 1 root root 206695 Jul 20 14:27 file.1 0:owner@:read_data/write_data/append_data/read_attributes /write_xattr/read_xattr/write_attributes/read_acl/write_acl /write_owner/synchronize:allow 1:group@:read_data/read_attributes/read_xattr/read_acl /synchronize:allow 2:everyone@:read_data/append_data/read_xattr/read_acl /synchronize:allow $ ls -V file.1 -rw-r--r-- 1 root root 206695 Jul 20 14:27 file.1 owner@:rw-p--aARWcCos:-------:allow group@:r-----a-R-c--s:-------:allow everyone@:r-----a-R-c--s:-------:allow
For an explanation of the permissions for each user category, see ACL Access Privileges.