Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
f
find(1) find(1)
HFS Access Control Lists
The -acl primary enables the user to search for HFS access control list entries. It is true if the file’s
access control list matches an access control list pattern or contains optional access control list entries (see
acl(5)). It has three forms:
-acl aclpatt Match all files whose access control list includes all (zero or more) pattern
entries specified by the aclpatt pattern.
-acl =aclpatt Match a file only if its access control list includes all (zero or more) pattern
entries specified by the aclpatt pattern, and every entry in its access control list
is matched by at least one pattern entry specified in the aclpatt pattern.
-acl opt Match all files containing optional access control list entries.
The aclpatt string can be given as an operator or short form pattern; see acl(5).
By default, -acl is true for files whose access control lists include all the (zero or more) access control list
patterns in aclpatt. A file’s access control list can also contain unmatched entries.
If aclpatt begins with =, the remainder of the string must match all entries in a file’s access control list.
The aclpatt string (by default, or the part following
=) can be either an access control list or an access con-
trol list pattern. However, if it is an access control list, aclpatt must include at least the three base entries
((user.%, mode), (%.group, mode), and (%.%, mode)).
As a special case, if aclpatt is the word
opt, the primary is true for files with access control list entries.
JFS Access Control Lists
The -aclv primary enables the user to search for JFS access control list entries. It is true if the file’s
access control list matches an access control list pattern or contains optional access control list entries (see
aclv(5)). It has three forms:
-aclv aclpatt Match all files whose access control list includes all (zero or more) pattern
entries specified by the aclpatt pattern.
-aclv =aclpatt Match a file only if its access control list includes all (zero or more) pattern
entries specified by the aclpatt pattern, and every entry in its access control list
is matched by at least one pattern entry specified in the aclpatt pattern.
-aclv opt Match all files containing optional access control list entries.
By default, -aclv is true for files whose access control lists include all the (zero or more) access control list
patterns in aclpatt. A file’s access control list can also contain unmatched entries.
If aclpatt begins with =, the remainder of the string must match all entries in a file’s access control list.
An aclpatt consists of a type field, an ID field, and a mode field, separated by colons. Multiple comma-
separated aclpatts may be specified.
The type field is one of
user, group, class, other or *, optionally preceded by default:. user,
group, class, other and default can be abbreviated to u, g, c, o and d, respectively. A type field
of * matches any of the above types.
The ID field is either a numeric user or group ID, a user or group ID string from
/etc/passwd or
/etc/group respectively, or *, which matches any ID.
The mode field consists of a string of three characters. The first character is either
r, indicating that read
permission is granted;
-, indicatingthat read permission is denied; or ?, which matches either state of read
permission. The second character is either w, -,or?, similarly indicating the state of write permission;
and the third character is either x, -,or?, indicating the state of execute permission.
As a special case, if aclpatt is the word opt, the primary is true for files with optional access control list
entries.
EXTERNAL INFLUENCES
Environment Variables
If an internationalization variable is not specified or is null, it defaults to the value of
LANG.
If
LANG is not specified or is null, it defaults to C (see lang(5)).
If LC_ALL is set to a nonempty string value, it overrides the values of all the other internationalization
variables.
Section 1−−274 − 4 − HP-UX Release 11i: December 2000
___
___