[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug while using rm ...
From: |
Gaël Le Mignot |
Subject: |
Re: bug while using rm ... |
Date: |
Sat, 23 Nov 2002 23:12:50 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
23 Nov 2002 21:58:45 +0100, tu as dit :
> Hello,
> I send something that looks like a bug found ... using rm.
> Now, we want to delete it with rm -R;
> a) $ rm -R foo // it works as expected.
> b) $ rm -R foo/ // error like below
> rm: cannot remove 'foo/': Invalid argument
> Can you reproduce it ? What is the problem ?
It's a known bug, when using "rm foo/" rm contacts the node foo and asks it
to remove "./" which, of course, doesn't work. When you use "rm foo" rm
contacts . and asks it to remove "./foo" which can work. Well, at least it's
what I understood.
I'm not sure where the fix should be (in libc ? in the program rm ?)
--
Gael Le Mignot "Kilobug" - kilobug@freesurf.fr - http://kilobug.free.fr
GSM : 06.71.47.18.22 (in France) ICQ UIN : 7299959
Fingerprint : 1F2C 9804 7505 79DF 95E6 7323 B66B F67B 7103 C5DA
Member of HurdFr: http://hurdfr.org - The GNU Hurd: http://hurd.gnu.org