HI, On Fri, Aug 12, 2005 at 03:17:58PM +0800, Фʢ�� Faris Xiao wrote: > Package: debian-reference-en > In sarge,I has privileges to write to the parent directory. > When I execute "rm -rf .*",it can't removes parent directory itself as > the document described. > > debian:~/tmp# export LANG=C > debian:~/tmp# rm -rf .* > rm: cannot remove `.' or `..' > rm: cannot remove `.' or `..' > > In woody,is this command will take affect? > Is this note specially for woody?
Hi, I tested .* expansion with "echo" and tried to make funny story. Apparently, "rm" does some sanity check recently (including woody). I created woody chroot (no easy way to get potato), it act as you describes :-) Can you think of any interesting comment to warn use of * for filename for commandline. Osamu