[OpenAFS] unix owner/group of files in AFS

Derrick J Brashear shadow@dementia.org
Mon, 19 Mar 2007 21:35:49 -0400 (EDT)


On Mon, 19 Mar 2007, Adam Megacz wrote:

>
> Just wondering... is the Administrator guide's documentation of how
> AFS uses the mode bits complete and up-to-date?
>
>  http://www.openafs.org/pages/doc/AdminGuide/auagd020.htm#HDRWQ580
>
> It doesn't seem to cover:
>
>  1. sticky bit
>       - AFS stores this, but does it have any effect?

not to afs, hence it not being covered

>  2. setuid/setgid bits
>       - as of 1.4.4, these are ignored unless "fs setcell" otherwise

if someone contributed an update it will be applied

>  3. any additional meaning given to the unix owner/group of a file
>       - For example, the PTS identity which is numerically equal to
>         the owner userid of the root directory of a volume has
>         implicit "a" rights on the volume.

whether that id be a user or a group, in fact

>       - others?

> Apparently, "chown" and "chgrp" will do the wrong thing if the numeric
> userids in /etc/passwd do not match those in pts.  I'm trying to

what's "wrong"?

> determine whether or not this really matters in a cell where all
> clients ignore setuid/setgid and the admins never chown the root
> directories of any of the volumes (the default owner seems to be
> uid=0).

> Are there any tools out there for automatically updating /etc/passwd
> using the output from "pts listentries" or equivalent?

someone had nss_pts. that's the right idea.