Applying an existing traditional GPFS access control list
To apply the same traditional ACLs from one file or directory
to another:
- Issue the mmgetacl command with the -o option to place the information in an output file.
- 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 similar to: #owner:guest
#group:usr
user::rwxc
group::rwx- #effective:rw--
other::--x-
mask::rw-c
user:alpha:rwxc #effective:rw-c
group:audit:rwx- #effective:rw--
group:system:-w--
For complete usage information, see the mmgetacl command and the mmputacl command.