GETFACL(1)

NAME
getfacl - Display file and directory access control lists (ACLs)

SYNOPSIS

getfacl [-adceEn] FILE...

getfacl -h | -V

OPTIONS

      -a, --access        display the file access control list only
      -d, --default       display the default access control list only
      -c, --omit-header   do not display the comment header
      -e, --all-effective print all effective rights
      -E, --no-effective  print no effective rights
      -n, --numeric       print numeric user/group identifiers
      -V, --version       print version and exit
      -h, --help          this help text
    When multiple files are specified on the command line, a blank
    line separates the ACLs for each file.

DESCRIPTION

For each argument that is a regular file, special file or directory, getfacl displays the owner, the group, and the ACL. For directories getfacl displays additionally the default ACL. With no options specified, getfacl displays the filename, the owner, the group, the setuid (s), setgid (s), and sticky (t) bits if available, and both the ACL and the default ACL, if it exists. For more information on Cygwin and Windows ACLs, see the section called “POSIX accounts, permission, and security” in the Cygwin User's Guide. The format for ACL output is as follows:

         # file: filename
         # owner: name or uid
         # group: name or uid
         # flags: sst
         user::perm
         user:name or uid:perm
         group::perm
         group:name or gid:perm
         mask:perm
         other:perm
         default:user::perm
         default:user:name or uid:perm
         default:group::perm
         default:group:name or gid:perm
         default:mask:perm
         default:other:perm

COPYRIGHT

Copyright © Cygwin authors

Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation.