Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a System: Managing System Security
Managing Access to Files and Directories
Chapter 8764
group::rw-
group:dev:rw-
class:rw-
other:---
default:user:boss:r---
default:user:jjones:r--
default:group:dev:r--
With these entries in place, any new file created in the directory
projectdir could have an ACL like that shown below for planfile. The
entries for user:boss, user:jjones, and group:dev are generated from
the default entries on the projectdir directory.
Example 8-10 Effect of Default Entries on a New File
$ getacl planfile
# file: planfile
# owner: jsmith
# group: users
user::rw-
user:boss:r--
user:jjones:r--
group::rw-
group:dev:r--
class:rw-
other:---
If the newly created file is a directory, the same ACL entries are
generated, but in addition the default entries themselves are also placed
in the ACL, as shown in docdir, below.
Example 8-11 Effect of Default Entries on a New Directory
$ getacl docdir
# file: docdir
# owner: jsmith
# group: users
user::rw-
user:boss:r--
user:jjones:r--
group::rw-
group:dev:r--
class:rw-
other:---