Re: buglet in ext2 sticky bit?

Fuzzy Fox (fox@foxtaur.com)
Sun, 24 Oct 1999 23:26:49 -0500


Frank van Maarseveen <F.vanMaarseveen@inter.NL.net> wrote:
>
> japetus /tmp ls -ld . aap
> drwxrwxrwt 5 root root 1024 Oct 24 22:17 .
> -rw-rw-rw- 1 root root 30 Oct 24 22:11 aap
>
> AFAIK a file writable for everyone should be deletable when +t on the
> parent dir.

I disagree. A malicious user could remove the "aap" file, and then
recreate it with permissions that disallow writes by others.

-- 
   fox@dallas.net (Fuzzy Fox)      || "Good judgment comes from experience.
sometimes known as David DeSimone  ||  Experience comes from bad judgment."
  http://www.dallas.net/~fox/      ||                 -- Life Lessons

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