Re: [RFC] Bug in mkdir(2)

Wolfgang Walter (wolfgang.walter@stusta.mhn.de)
Wed, 16 Jun 1999 23:12:29 +0200


On Wed, Jun 16, 1999 at 11:05:05AM -0700, Linus Torvalds wrote:
>
>
> On Wed, 16 Jun 1999, Alexander Viro wrote:
> >
> > In other words, if foo is a dangling symlink mkdir("foo/") will merrily
> > follow it. Which it shouldn't.
>
> Why? I think the follows symlink behaviour is the right one, and is
> consistent with "open" etc. Are there any pressing reasons to not do it?
>
> Linus
>
>
> -
> 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/

2.0.37 seems not to do this.
mkdir b
and
mkdir b/
both give

EEXIST

Wolfgang Walter

-- 
Veni, Vidi, VISA:
	I came, I saw, I did a little shopping.

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