[OpenAFS] chown'ing and chgrp'ing user volume mount points

Derrick J Brashear shadow@dementia.org
Tue, 9 Mar 2004 00:25:02 -0500 (EST)


On Mon, 8 Mar 2004, Russ Allbery wrote:

> Derrick J Brashear <shadow@dementia.org> writes:
> > On Mon, 8 Mar 2004, Russ Allbery wrote:
>
> >> PTS groups are a completely different entity entirely, and have nothing to
> >> do with file ownership.
>
> > dirty little secret. the uid owning the top level directory (inode) of a
> > volume gets implicit admin rights. everyone knows that. but if you hack
> > your kernel to allow a negative number to be passed in, a pts group can
> > have those implicit rights.
>
> That *is* evil.  Does it have to be a literal negative number and not just
> (unsigned long) -1?

well, i assume the kernel only allows a 31 bit number to be passed in...