g

getacl(1)

getacl(1)

permissions actually granted.

EXAMPLES

Given ®le 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 ®le 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:---

Section 1326

− 2 −

HP-UX Release 11i: December 2000