Re: rmdir of one's pwd

Andries.Brouwer@cwi.nl
Mon, 15 Feb 1999 23:51:34 +0100 (MET)


From viro@math.psu.edu Mon Feb 15 23:12:55 1999

[Sorry for followup to my own posting, but..]
On Mon, 15 Feb 1999, Alexander Viro wrote:
>
> On Mon, 15 Feb 1999 Andries.Brouwer@cwi.nl wrote:

> > As mentioned already, we need write permission as soon as we change
> > a name in a directory. We need execute (search) permission in all
> > directories involved, including the final ones where we'll write.
> Agreed. Test added.

On the second thought... Execute permissions on a directory are needed
only to access files referenced from it.

Yes.

Maybe you misunderstood. For

mv a/x b/y

you need search permission in the directories a and b.
That is what I meant to say in the part you quote.
[I now realize that `the final ones where we'll write' is
not unambiguous because you may think of these .. entries.]

Andries

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