f

®nd(1)

®nd(1)

HFS Access Control Lists

The -aclprimary enables the user to search for HFS access control list entries. It is true if the ®le's access control list matches an access control list pattern or contains optional access control list entries (see acl(5)). It has three forms:

-aclaclpatt

Match all ®les whose access control list includes all (zero or more) pattern

 

 

entries speci®ed by the aclpatt pattern.

-acl

=aclpatt

Match a ®le only if its access control list includes all (zero or more) pattern

 

 

entries speci®ed by the aclpatt pattern, and every entry in its access control list

 

 

is matched by at least one pattern entry speci®ed in the aclpatt pattern.

-acl

opt

Match all ®les containing optional access control list entries.

The aclpatt string can be given as an operator or short form pattern; see acl(5).

By default, -aclis true for ®les whose access control lists include all the (zero or more) access control list patterns in aclpatt. A ®le's access control list can also contain unmatched entries.

If aclpatt begins with =, the remainder of the string must match all entries in a ®le's access control list.

The aclpatt string (by default, or the part following =) can be either an access control list or an access control 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 ®les with access control list entries.

JFS Access Control Lists

The -aclvprimary enables the user to search for JFS access control list entries. It is true if the ®le's access control list matches an access control list pattern or contains optional access control list entries (see aclv(5)). It has three forms:

-aclvaclpatt Match all ®les whose access control list includes all (zero or more) pattern entries speci®ed by the aclpatt pattern.

-aclv =aclpatt Match a ®le only if its access control list includes all (zero or more) pattern entries speci®ed by the aclpatt pattern, and every entry in its access control list is matched by at least one pattern entry speci®ed in the aclpatt pattern.

-aclv opt

Match all ®les containing optional access control list entries.

By default, -aclvis true for ®les whose access control lists include all the (zero or more) access control list patterns in aclpatt. A ®le's access control list can also contain unmatched entries.

If aclpatt begins with =, the remainder of the string must match all entries in a ®le's access control list.

An aclpatt consists of a type ®eld, an ID ®eld, and a mode ®eld, separated by colons. Multiple comma- separated aclpatts may be speci®ed.

The type ®eld 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 ®eld of * matches any of the above types.

The ID ®eld 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 ®eld consists of a string of three characters. The ®rst character is either r, indicating that read permission is granted; -, indicating that 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 ®les with optional access control list entries.

EXTERNAL INFLUENCES

Environment Variables

If an internationalization variable is not speci®ed or is null, it defaults to the value of LANG.

If LANG is not speci®ed 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 1274

− 4 −

HP-UX Release 11i: December 2000