HP-UX Reference (11i v2 07/12) - 1 User Commands A-M (vol 1)

g
getacl(1) getacl(1)
In order to indicate that the file group class permission bits restrict an ACL entry,
getacl will display,
after each affected entry, text in the form
#effective: perm, where perm will show only the permis-
sions actually granted.
EXAMPLES
Given file
filea, with an ACL six entries long, the command
$ getacl filea
would print:
# file: filea
# owner: fletcher
# group: us
user::rwx
user:spy:---
user:archer:rw-
group::r--
class:rw-
other:---
Given file filea, with an ACL six entries long, after the command chmod 700 filea
was issued, the
command
$ getacl filea
would print:
# file: filea
# owner: fletcher
# group: us
user::rwx
user:spy:---
user:archer:rw- #effective:---
group::r-- #effective:---
class:---
other:---
Given directory fileb, with an ACL containing default entries, the command
$ getacl -d fileb
would print:
# file: fileb
# owner: fletcher
# group: us
default:user::rwx
default:user:spy:---
default:group::r--
default:other:---
Given directory fileb, the command
$ getacl fileb
would print:
# file: fileb
# owner: fletcher
# group: us
user::rwx
user:spy:---
user:archer:rw-
group::r--
other:---
default:user::rwx
default:user:spy:---
default:group::r--
default:other:---
396 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update