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.

mmdelacl Comm<strong>and</strong><br />

Name<br />

mmdelacl – Deletes a <strong>GPFS</strong> access control list.<br />

Synopsis<br />

mmdelacl [-d] Filename<br />

Description<br />

Use the mmdelacl comm<strong>and</strong> to delete the extended entries of an access ACL of a file or directory, or to<br />

delete the default ACL of a directory.<br />

Parameters<br />

Filename<br />

The path name of the file or directory for which the ACL is to be deleted. If the -d option is<br />

specified, Filename must contain the name of a directory.<br />

Options<br />

-d Specifies that the default ACL of a directory is to be deleted.<br />

Since there can be only one NFS V4 ACL (no separate default), specifying the -d flag for a file<br />

with an NFS V4 ACL is an error. Deleting an NFS V4 ACL necessarily removes both the ACL <strong>and</strong><br />

any inheritable entries contained in it.<br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

The mmdelacl comm<strong>and</strong> may be issued only by the file or directory owner, the root user, or by someone<br />

with control (c) authority in the ACL for the file.<br />

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

mounted.<br />

Examples<br />

To delete the default ACL for a directory named project2, issue this comm<strong>and</strong>:<br />

mmdelacl -d project2<br />

To confirm the deletion, issue this comm<strong>and</strong>:<br />

mmgetacl -d project2<br />

The system displays information similar to:<br />

#owner:uno<br />

#group:system<br />

See also<br />

“mmeditacl Comm<strong>and</strong>” on page 168<br />

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

Chapter 8. <strong>GPFS</strong> comm<strong>and</strong>s 149

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

Saved successfully!

Ooh no, something went wrong!