IBM Books

IBM General Parallel File System for AIX: Administration and Programming Reference

mmgetacl Command

Name

mmgetacl - Displays the GPFS access control list of a file or directory.

Synopsis

mmgetacl [-d] [-o OutFilename] Filename

Description

Use the mmgetacl command to display the ACL of a file or directory.

Parameters

Filename
The path name of the file or directory for which the ACL is to be displayed. 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 displayed.

-o OutFilename
The path name of a file to which the ACL is to be written.

Exit status

0
Successful completion.

1
A failure has occurred.

Security

You must have read access to the directory where the file exists to run the mmgetacl command.

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

Verify the authentication method set for SP security services:

  1. If your authentication method is set to compatibility, Kerberos authentication is required. Issue the k4init command.
  2. If your authentication method is set to DCE, dce_login authentication is required.
  3. If your authentication method is set to NONE/std, there must be an entry in the /etc/sysctl.mmcmd.acl file on every node in the nodeset for the root user at every other node in the nodeset.

For further information, see the latest IBM Parallel System Support Programs for AIX: Administration Guide, IBM Parallel System Support Programs for AIX: Command and Technical Reference, and RS/6000: Planning Volume 2, Control Workstation and Software Environment manuals at www.rs6000.ibm.com/resource/aix_resource/sp_books/pssp. Search for information on sysctl.

Examples

To display the ACL for a file named project2.history, enter:

mmgetacl project2.history

The system displays information similar to:

#owner:paul
#group:design
user::rwx
group::r-x
other::r-x
 

See also

mmeditacl Command

mmdelacl Command

mmputacl Command

Location

/usr/lpp/mmfs/bin


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]