Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
g
getacl(1) getacl(1)
permissions 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:---
Section 1−−326 − 2 − HP-UX Release 11i: December 2000
___
___