Get the access control list (ACL) for files or directories
getfacl [-q] [path ...]
The getfacl utility gets the access control list for files or directories. For an overview of ACLs, see " Access Control Lists (ACLs) " in the BlackBerry 10 OS User's Guide.
Get the ACL for my_file:
# getfacl my_file # file: my_file # owner: mabel # group: docs user::rwx group::rwx group:techies:r-x mask::rwx other::---
Get the ACL, but suppress the comments:
# getfacl -q my_file user::rwx group::rwx group:techies:r-x mask::rwx other::---