table of contents
parrot_setacl(1) | Cooperative Computing Tools | parrot_setacl(1) |
NAME¶
parrot_setacl - set ACL information for Parrot filesystem
SYNOPSIS¶
parrot_setacl <path> <subject> <rights>
DESCRIPTION¶
parrot_setacl utilizes Parrot system calls to set the access control list (ACL) information for the directory specified by <path>. The <subject> argument refers to the entity to authorize, while the <rights> argument is one of the following: read, write, admin, none.
Note, this program only works if it is executed under parrot_run(1) and if the underlying filesystem supports ACLs.
EXIT STATUS¶
On success, returns zero. On failure, returns non-zero.
EXAMPLES¶
Set read and list permissions for subject "unix:user" on a Chirp directory:
-
% parrot_run parrot_setacl /chirp/student00.cse.nd.edu/user unix:user rl
COPYRIGHT¶
The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.
SEE ALSO¶
- Cooperative Computing Tools Documentation
- Parrot User Manual
- parrot_run(1) parrot_cp(1) parrot_getacl(1) parrot_setacl(1) parrot_mkalloc(1) parrot_lsalloc(1) parrot_locate(1) parrot_timeout(1) parrot_whoami(1) parrot_mount(1) parrot_md5(1) parrot_package_create(1) parrot_package_run(1) chroot_package_run(1)
CCTools 8.0.0 DEVELOPMENT |