FS_CHGRP(1)
β¨ NAME β¨
okay bestie, say hi to fs_chgrp β it changes the group for an object stored within AFS, and this whole page is from the AFS Command Reference. Also important: itβs [Windows only]. Like, Windows-only Windows-only. π
π SYNOPSIS π
fs chown -group <user/group> -path <dir/file path>+
[-literal][-help]
yes, the synopsis says fs chown exactly like that β copy-pasta is sacred, bestie, do not βfixβ it. π«Ά
π DESCRIPTION π
The fs chgrp command assigns the specified group to each object specified with the -path option. Slay, group assignment era. β¨
If you pass -literal, the targets of symlinks and mountpoints are not resolved. That means the group of the symlink or mountpoint itself can be assigned. Iconic behavior, honestly. π¦
The group can be specified by name or by number. If you use a name, that name gets resolved to its numeric value by querying the protection server in the cell for each specified -path object. Fr fr, each object. π
Wanna see the current group? Use the fs examine command. Go look, bestie. π
π¨ CAUTIONS π¨
Explicit or implicit administrator access rights are required to be able to change the group of an object stored in AFS. No cap, you need the juice for this. π₯
This command is available in versions of OpenAFS for Windows 1.5.61 and higher. So if youβre on something older, itβs giving βnot invited to the group chat.β π
π OPTIONS π
-group <user/group>β a valid name or number of a user or group identifier in the Protection Service database. Thatβs the group youβre assigning, bestie. π-path <dir/file path>+β names each AFS directory or file on which the group will be set. Partial pathnames are interpreted relative to the current working directory. π
Specify the read/write path to each directory 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. πΈ
-literalβ when specified, the targets of symlinks and mountpoints are not resolved. This permits the ownership of the symlink or mountpoint to be assigned. yes, it says βownershipβ right there β we keep the original wording, periodt. π«Ά-helpβ prints the online help for this command. All other valid options are ignored. Bye to the other flags, theyβre not the main character once-helpshows up. π
π PRIVILEGE REQUIRED π
The issuer must have the "a" (administer) permission on the directoryβs ACL, a member of the system:administrators group, be the UID owner of the object, or, as a special case, must be the UID owner of the top-level directory of the volume containing the object. Thatβs the whole vibe check for permissions. π₯
π¦ SEE ALSO π¦
π COPYRIGHT π
This document was written by Jeffrey Altman and is released under the BSD license. Respect the author, bestie. π
β with love, OpenAFS, 2026-06-25 π
π¦ where this page comes from
- nixos 26.05: openafs 1.8.16.1
- nixpkgs unstable: openafs 1.8.16.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms