Re: Is this a bug or rather a feature?

Khimenko Victor (khim@sch57.msk.ru)
Sat, 18 Dec 1999 15:01:53 +0300 (MSK)


In <Pine.GSO.4.05.9912180126200.25352-100000@aa.eps.jhu.edu> feiliu@aa.eps.jhu.edu (feiliu@aa.eps.jhu.edu) wrote:

> # mkdir test
> # touch 1;touch 2;touch 3
> # mkdir hello
> # cd hello
> # rmdir ./
> # ls
> total 0
> # cd ..
> # mkdir hello
> # cd hello
> # rmdir ../
> rmdir: ..: Directory not empty
> # rm -rf ..
> rm: cannot remove `.' or `..'
> # rm -rf .
> rm: cannot remove `.' or `..'

> comparing the behavior of "rm -rf" and "rmdir", they are not
> very consistent.

Exactly. It's not kernel problem though :-( Ask FSF about subj...

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