IBM Books

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

mmputacl Command

Name

mmputacl - Sets the GPFS access control list for the specified file or directory.

Synopsis

mmputacl [-d] [-i InFilename] Filename

Description

Use the mmputacl command to set the ACL of a file or directory.

Note:
If the -i option is not used, the command expects the input to be supplied through standard input, and waits for your response to the prompt.

Parameters

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

-i InFilename
The path name of a source file from which the ACL is to be read.

Exit status

0
Successful completion.

1
A failure has occurred.

Security

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

You must be the file or directory owner or have root authority to run the mmputacl command.

In an SP environment, 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 use the entries in a file named standard.acl to set the ACL for a file named project2.history, enter:

mmputacl -i standard.acl project2.history

where standard.acl contains:
user::rwx
group::rwx
other::--x
mask::rw-
user:alpha:rwx
group:audit:rwx
group:system:-w-

To confirm the change, enter:

mmgetacl project.history

The system displays information similar to:

user::rwx
group::rwx
other::--x
mask::rw-
user:alpha:rwx
group:audit:rwx
group:system:-w

See also

mmeditacl Command

mmdelacl Command

mmgetacl Command

Location

/usr/lpp/mmfs/bin


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