fs_chgrp - Changes the group for an object stored within /afs [Windows only]
fs chgrp -group <user/group> -path <dir/file path>+ [-nofollow][-help]
The fs chgrp command assigns the specified group to each object specified with the -path.
When the -nofollow argument is specified, the targets of symlinks and mountpoints are not resolved. This permits the group of the symlink or mountpoint to be assigned.
The group can be specified by name or by number. If specified by name, the name will be resolved to the numeric value by querying the protection server in the cell for each specified -path object.
To display the current group, use the fs examine command.
A valid name or number of a user or group identifier in the Protection Service database.
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 group 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,
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-2020. 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.