16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

perm Permissions specified either in absolute form (string rwx<br />

with - as a placeholder or octal form), or in relative format<br />

(using the + or^ modifiers).<br />

Rule: For relative permission settings, specifying "+perm"<br />

means that you want the ACL entry to have that permission<br />

turned on. Specifying "^perm" means that you want the ACL<br />

entry to have that permission off. For example, specifying<br />

the following will find files with an extended access ACL<br />

entry for user Billy in which the permissions are either -w-<br />

or rw-:<br />

user:Billy:+w^x<br />

If the permission field of acl_text is omitted, then the ACL<br />

entries are searched to match only the ACL type, and user<br />

or group portions of the user-supplied entry.<br />

If you want to find any of the base ACL entries (user, group,<br />

or other), you can use the -perm primary.<br />

The first field of an ACL entry may specify the type of ACL (access,<br />

directory default, or file default) that will be processed. If the type is not<br />

specified, the operation applies only to the access ACL. If you are updating<br />

the ACL entries, you can specify the base ACL entries; however, specifying<br />

the base ACL entries may cause the file or directory’s permission bits to<br />

change if what is specified is different than the current settings.<br />

-acl_group groupid<br />

Matches if the object has an extended group ACL entry for groupid. groupid<br />

can also be a group ID number.<br />

If your security product supports ACLs, the group base ACL entry can be<br />

matched using this primary. If a numeric group exists as a group name in<br />

the group data base, the group ID number associated with that group is<br />

used.<br />

-acl_nogroup<br />

Matches if a group ACL entry (for any type of ACL) exists in which a group<br />

is not defined. The GID for at least one extended ACL entry for the file does<br />

not have a group name associated with it.<br />

-acl_nouser<br />

Matches if a user ACL entry (for any type of ACL) exists in which a user is<br />

not defined. The UID for at least one extended ACL entry for the file does<br />

not have a user name associated with it.<br />

-acl_user userid<br />

Matches if the ACL of the object has an extended user ACL entry for userid.<br />

userid can also be a user ID number.<br />

If a numeric owner exists as a user name in the user data base, the user ID<br />

number associated with that user name is used. If your security product<br />

supports ACLs, the user base ACL entry can be matched, using this<br />

primary.<br />

–atime number<br />

Matches if someone has accessed the file exactly number days ago.<br />

find<br />

Chapter 2. Shell command descriptions 283

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!