fs_chmod - Changes the UNIX mode for an object stored within /afs [Windows only]
fs chmod -mode <UNIX mode bits> -path <dir/file path>+ [-nofollow][-help]
The fs chmod command assigns the specified UNIX mode bits to each object specified with the -path.
If the -nofollow argument is specified, the targets of symlinks and mountpoints are not resolved. This permits the UNIX mode of the symlink or mountpoint to be assigned.
The UNIX mode bits can be specified by absolute numeric value or symbolic string.
To display the current UNIX mode, use the fs examine command.
The UNIX mode bits can be specified by absolute numeric value or symbolic string.
Names each AFS file or directory to run the command on. Partial pathnames are interpreted relative to the current working directory, which is also the default value if this argument is omitted.
Specify the read/write path to avoid the failure that results from attempting to change a read-only volume. By convention, the read/write path is indicated by placing a period before the cell name at the pathname's second level (for example, /afs/.example.com). For further discussion of the concept of read/write and read-only paths through the filespace, see the fs mkmount reference page.
When specified, the targets of symlinks and mountpoints are not resolved.
This permits the mode of the symlink or mountpoint to be assigned.
Prints the online help for this command. All other valid options are ignored.
The issuer must have the a
(administer) permission on the directory's ACL,
a member of the system:administrators group,
or,
as a special case,
must be the UID owner of the top-level directory of the volume containing this directory.
The last provision allows the UID owner of a volume to repair accidental ACL errors without requiring intervention by a member of system:administrators.
Copyright AuriStor, Inc. 2014-2021. https://www.auristor.com/ All Rights Reserved.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.