FS_CHGRP(1)

πŸ“¦ version 1.8.16.1, in nixos 26.05, nixpkgs unstable

✨ 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 -help shows 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 πŸ¦‹

fs_examine(1), fs_chown(1)


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