Re: Odd filesystem permission handling

Ralf Baechle (ralf@uni-koblenz.de)
Sun, 20 Jun 1999 13:01:46 +0200


On Sat, Jun 19, 1999 at 02:52:56PM +0200, Rogier Wolff wrote:

> I remember the setuid mkdir doing something along the lines of:
>
> touch $1
> chmod 40755 $1
> ln $1 $1/.
> ln . $1/..
>
> I remember that after a system crash we ended up with lots of junk in
> lost+found. Some of the FILEs there looked quite similar to what you'd
> see if you would use cat on a directory. So we chmod-ed them into a
> directory, and fsck-ed again. Bingo! a whole bunch of files back...
>
> Yes, those were the days....
>
> But what the F... is all this doing on linux-kernel?

Reminds me that I still have a few pieces of code on disk which are
using Version 7's mpx(2) and related facilities. Anybody kernel
patches for mpx support around ;-)

Ralf

-
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/