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.

setfacl<br />

2. The user tried to change the file default ACL or directory default ACL for<br />

a pathname that is not a directory.<br />

3. An attempt to delete all extended ACL entries failed for the current<br />

pathname.<br />

4. An attempt to set or modify extended ACL entries failed for the current<br />

pathname.<br />

When you do not specify –a, the setfacl processing continues.<br />

–D type<br />

Deletes all extended ACL entries for the ACL of type. For an access ACL,<br />

this leaves only the three required base entries intact. For a file default or<br />

directory default ACL, the entire ACL for the specified type is deleted. You<br />

can specify type as one of the following:<br />

a Access ACL<br />

d Directory default ACL<br />

f File default ACL<br />

e Every extended ACL for all ACL types that are applicable for the<br />

current pathname<br />

–h Do not follow symbolic links. Because ACLs are not associated with<br />

symbolic links, nothing will happen if a symbolic link is encountered.<br />

–m EntryOrFile<br />

Modifies the ACL entries specified by EntryOrFile. EntryOrFile represents a<br />

string of ACL entries typed directly on the command line. If an ACL entry<br />

does not exist for a user or group specified in EntryOrFile, then it is<br />

created. If an ACL entry already exists for a user or group that was<br />

specified in EntryOrFile, then it is replaced.<br />

The specified entries must be unique for each ACL type and its associated<br />

user or group combinations.<br />

–M EntryOrFile<br />

Modifies the ACL entries specified in EntryOrFile. EntryOrFile represents a<br />

file containing ACL entries. If an ACL entry does not exist for a user or<br />

group specified in EntryOrFile, then it is created. If an ACL entry already<br />

exists for a user or group that was specified in EntryOrFile, then it is<br />

replaced. If EntryOrFile is –, then entries are read from stdin.<br />

The specified entries must be unique for each ACL type and its associated<br />

user or group combinations.<br />

–q Quiet mode. setfacl will suppress all warning and error messages for the<br />

following conditions:<br />

1. During the attempt to change an ACL for a file or directory, setfacl<br />

performs a stat(), and the stat() fails with a unique reason code.<br />

2. The user tried to change the file default ACL or directory default ACL for<br />

a pathname that is not a directory.<br />

The condition that caused the warning or error will not affect the return<br />

code.<br />

–s entries<br />

Sets (replaces) all ACLs with entries.<br />

–S file Sets (replaces) all ACLs with the entries specified in file. If file is –, then<br />

entries are read from stdin.<br />

–v Verbose<br />

546 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!