PTS_CHOWN(1)
π PTS_CHOWN(1) β like, the AFS Command Reference girlies know π
okay so bestie, welcome to pts_chown, straight out of the AFS Command Reference. this is the glow-up command for Protection Database entries and I'm obsessed π
β¨ NAME β¨
pts_chown β changes the owner of a Protection Database entry. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
pts chown -name <group name> -owner <new owner>
[-cell <cell name>] [-noauth] [-localauth] [-force] [-help]
[-auth] [-encrypt] [-config <config directory>]
pts cho -na <group name> -o <new owner>
[-c <cell name>] [-no] [-l] [-f] [-h]
[-a] [-e] [-co <config directory>]
like yes, there are two forms, and yes, the second one is the short-form abbreviation era π¦ na is short for name, o for owner, you get it, iykyk.
π DESCRIPTION π
so the pts chown command makes the user or group named by -owner the owner of the group named by -name, and it writes that new owner into the owner field of the group's Protection Database entry. new owner, who dis, slay. β¨
okay now the important part, bestie, pay attention π’ for regular groups, this command automatically changes the group name's owner prefix β that's the part of the group name before the colon β so it matches the new owner. but here's the plot twist: if the new owner is itself a group, then only its owner prefix becomes the owner prefix in the new name, not its complete name. the way that the full name does NOT carry over is honestly so real of the Protection Server. π
and it gets deeper: that change to the owner prefix does not propagate to any groups owned by the group. nope, nothing trickles down. so if you want the owner prefix of those group-owned groups to reflect the new owning group, you gotta run pts rename yourself. periodt. π
also, huge caveat: you cannot change a user or machine entry's owner away from the default. that default is the system:administrators group, set at creation time, and it stays. no cap. π
β οΈ CAUTIONS β οΈ
okay so technically, designating a machine as a group's owner does not cause an error. technically. but it is not recommended π« why? because the Protection Server does not extend the usual privileges of group ownership to users logged onto that machine. so the machine owns the group but the humans on it get nothing. it's giving fake ownership energy fr fr.
π OPTIONS π
-name <group name>β specifies the current name of the group you're assigning a new owner to.-owner <new owner>β names the user or group that becomes the group's owner. the new main character π-authβ use the calling user's tokens to talk to the Protection Server. more details inpts(1).-cell <cell name>β names the cell to run the command in. more details inpts(1).-config <config directory>β use an alternate config directory. more details inpts(1).-encryptβ encrypts any communication with the Protection Server. more details inpts(1). π-forceβ lets the command keep going as far as possible when errors or other problems happen, instead of stopping dead at the first error.-helpβ prints the online help for this command. every other valid option gets ignored, sorry bestie,-helpis the only one talking π-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFilefile. do not combine this flag with the-cellor-noauthoptions. more details inpts(1).-noauthβ assigns the unprivileged identityanonymousto the issuer. more details inpts(1).
π EXAMPLES π
example one, changing the owner of the group "terry:friends" from the user "terry" to the user "pat". side effect? the group name changes to "pat:friends". cute.
% pts chown -name terry:friends -owner pat
example two, changing the owner of the group "terry:friends" from the user "terry" to the group "pat:buddies". side effect? the group name changes to "pat:friends" β remember, only the owner prefix carries over, not the whole name π
% pts chown -name terry:friends -owner pat:buddies
π PRIVILEGE REQUIRED π
the issuer must belong to the system:administrators group, or currently own the group. either/or, pick your lane β¨
π¦ SEE ALSO π¦
π COPYRIGHT π
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
okay that's the whole page bestie, you ate π this was OpenAFS, dated 2026-07-27, and honestly? iconic. go change some owners, no cap ππ§
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms