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

Russ Allbery rra@stanford.edu
Mon, 08 Mar 2004 21:22:14 -0800


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?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>