[OpenAFS] Re: file ownership for root (UID 0)

Andrew Deason adeason@sinenomine.net
Tue, 12 Jan 2010 09:22:45 -0600


On Tue, 12 Jan 2010 08:50:32 +0100
"Karl Ti=DFner" <tissner@gmx.de> wrote:

> > > Since it is not possible to create an user with AFS UID "0", all
> > > files created by root are not owned by root (Debian Linux, root
> > > has UID 0):
> > >=20
> > > # pts createuser -name testtest -id 0
> > > 0 isn't a valid user id; aborting
> > >=20
> > > What is the standard way to handle this problem?
> >=20
> > By declaring it not a problem, but desired behavior. Root is a
> > local id, not a network id. A member of system:administrators can
> > chown existing files to root, but that's as close as you're going
> > to get I think.
>=20
> That's not really a satisfying solution. I'm forced to use the root
> account, since I chroot into an AFS directory, which is the root
> directory on a server using AFS mounted clients (for network boot).
> Files created by root should be owned by root immediately.

What problems are you encountering when files are not shown to be owned
by root?

--=20
Andrew Deason
adeason@sinenomine.net