In article <[EMAIL PROTECTED]>, Andrea Arcangeli <[EMAIL PROTECTED]> wrote: >On Mon, Jan 08, 2001 at 01:04:24PM -0500, Alexander Viro wrote: >> Racy. Nonportable. Has portable and simple equivalent. Again, don't >> bother with chdir at all - if you know the name of directory even >> ../name will work. It's not about the current directory. It's about >> the invalid last component of the name. > >The last component of the name isn't invalid, it's a plain valid directory. If >according to you `rmdir ../name` and rmdir `pwd` makes sense then according to >me `rmdir .` makes perfect sense too. It makes perfect sense, and Linux used to accept it during the 2.3.x timeframe. However, it is against all UNIX standards, and Linux-2.4 will explicitly not allow it (there's also some parent locking issues there). Linus - 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/
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Alexander Viro
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in... Linus Torvalds
- Re: `rmdir .` doesn't work in... Stefan Traby
- Re: `rmdir .` doesn't work in... Eric Lammerts
- Re: `rmdir .` doesn't work in 2.4 Albert D. Cahalan
- Re: `rmdir .` doesn't work in... Alexander Viro
- Re: `rmdir .` doesn't work in... Albert D. Cahalan
- Re: `rmdir .` doesn't work in... Alexander Viro
- Re: `rmdir .` doesn't work in 2.4 Linus Torvalds
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in... Stephen C. Tweedie
- Re: `rmdir .` doesn't work in 2.4 Alexander Viro
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Stephen C. Tweedie
- Re: `rmdir .` doesn't work in 2.4 Stefan Traby
- Re: `rmdir .` doesn't work in 2.4 Benson Chow
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Wakko Warner
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli