Re: odd chown difference between 2.0 and 2.1pre kernels

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 12 Jan 1999 18:41:28 +0000 (GMT)


> Hmm... I was envisioning making root owner on files when a user
> is being removed from system.

Then you should be clearing the setuid bit first - good example though.

I don't actually care too much which behaviour is used. The important stuff
the change fixed was the dangerously wrong clearing of those bits on a directory
that got chowned. The "if root" stuff is a side issue.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/