29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

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.

mmeditacl Comm<strong>and</strong><br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

You may issue the mmeditacl comm<strong>and</strong> only from a node in the <strong>GPFS</strong> cluster where the file system is<br />

mounted.<br />

The mmeditacl comm<strong>and</strong> may be used to display an ACL. POSIX ACLs may be displayed by any user<br />

with access to the file or directory. NFS V4 ACLs have a READ_ACL permission that is required for<br />

non-privileged users to be able to see an ACL. To change an existing ACL, the user must either be the<br />

owner, the root user, or someone with control permission (WRITE_ACL is required where the existing ACL<br />

is of type NFS V4).<br />

Examples<br />

To edit the ACL for a file named project2.history, issue this comm<strong>and</strong>:<br />

mmeditacl project2.history<br />

The current ACL entries are displayed using the default editor, provided that the EDITOR environment<br />

variable specifies a complete path name. When the file is saved, the system displays information similar<br />

to:<br />

mmeditacl: 6027-967 Should the modified ACL be applied? (yes) or (no)<br />

After responding yes, the ACLs are applied.<br />

See also<br />

“mmdelacl Comm<strong>and</strong>” on page 149<br />

“mmgetacl Comm<strong>and</strong>” on page 185<br />

“mmputacl Comm<strong>and</strong>” on page 233<br />

Location<br />

/usr/lpp/mmfs/bin<br />

170 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!