On Thu, 16 Nov 2000, Linus Torvalds wrote: > The cwd is not the problem. The '.' is. > > The reason for that check is that allowing "rmdir(".")" confuses a lot of > UNIX programs, because it wasn't traditionally allowed. Moreover, allowing it means that you overload the semantics of rmdir() (and rename(), where it becomes really nasty). And I'm not talking about the locking issues - the things become extremely nasty there, esp. in cases like foo/bar/., where bar is a symlink. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- [BUG] Inconsistent behaviour of rmdir Jean-Marc Saffroy
- Re: [BUG] Inconsistent behaviour of rmdir Linus Torvalds
- Re: [BUG] Inconsistent behaviour of rmdir Alexander Viro
- Re: [BUG] Inconsistent behaviour of rmdir Jean-Marc Saffroy
- Re: [BUG] Inconsistent behaviour of rmdir Alexander Viro
- Re: [BUG] Inconsistent behaviour of rmd... Jean-Marc Saffroy
- Re: [BUG] Inconsistent behaviour o... Alexander Viro
- Re: [BUG] Inconsistent behaviour o... David Feuer
- Re: [BUG] Inconsistent behavio... H. Peter Anvin
- Re: [BUG] Inconsistent beh... Alexander Viro
- Re: [BUG] Inconsistent beh... David Feuer
- Re: [BUG] Inconsistent beh... Alexander Viro
- Re: [BUG] Inconsistent beh... Nix