mmdelacl command

Deletes a GPFS access control list.

Synopsis

mmdelacl [-d] Filename

Availability

Available on all IBM Spectrum Scale editions. Available on AIX® and Linux.

Description

Use the mmdelacl command to delete the extended entries of an access ACL of a file or directory, or to delete the default ACL of a directory.

Parameters

Filename
The path name of the file or directory for which the ACL is to be deleted. If the -d option is specified, Filename must contain the name of a directory.

Options

-d
Specifies that the default ACL of a directory is to be deleted.

Since there can be only one NFS V4 ACL (no separate default), specifying the -d flag for a file with an NFS V4 ACL is an error. Deleting an NFS V4 ACL necessarily removes both the ACL and any inheritable entries contained in it.

Exit status

0
Successful completion.
nonzero
A failure has occurred.

Security

The mmdelacl command may be issued only by the file or directory owner, the root user, or by someone with control (c) authority in the ACL for the file.

You may issue the mmdelacl command only from a node in the GPFS cluster where the file system is mounted.

Examples

To delete the default ACL for a directory named project2, issue this command:
mmdelacl -d project2
To confirm the deletion, issue this command:
mmgetacl -d project2
The system displays information similar to:
#owner:uno
#group:system

See also

Location

/usr/lpp/mmfs/bin