IBM Books

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

Applying an existing access control list

To apply the same ACLs from one file or directory to another:

  1. Issue the mmgetacl command with the -o option to place the information in an output file.
  2. Apply the ACLs to the new file or directory by issuing the mmputacl command with the -i option.

For example, use the -o option to specify a file to which the ACL is written:

mmgetacl -o old.acl project2.history

Then, to assign the same permissions to another file, project.notes, enter:

mmputacl -i old.acl project.notes

To confirm the changes, enter:

mmgetacl project.notes

The information sent to standard output is:
#owner:guest
#group:usr
user::rwx
group::rwx #effective:rw-
other::--x
mask::rw-
user:alpha:rwx #effective:rw-
group:audit:rwx #effective:rw-
group:system:-w-

See the mmgetacl Command and the mmputacl Command for complete usage information.


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