bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#162414: coreutils: rm -rf does not delete dir/ with trailing sla


From: Michael Stone
Subject: Re: Bug#162414: coreutils: rm -rf does not delete dir/ with trailing slash
Date: Thu, 26 Sep 2002 06:44:40 -0400
User-agent: Mutt/1.4i

severity 162414 normal
tags +unreproducible
quit

On Thu, Sep 26, 2002 at 01:30:49PM +0200, you wrote:
I think this is important because the ability to specify directory name with a trailing slash is often used.

address@hidden:~$ mkdir dir/
address@hidden:~$ ls -ld dir
drwxr-xr-x    2 hramrach hramrach     4096 Sep 25 17:01 dir
address@hidden:~$ rm -rf dir/
rm: cannot remove `dir/': Invalid argument
                     ^   ^
address@hidden:~$ rm -rf dir
address@hidden:~$ ls -ld dir
ls: dir: No such file or directory

cannot reproduce

(842)osgiliath:~/tmp> mkdir dir
(843)osgiliath:~/tmp> rmdir dir
(844)osgiliath:~/tmp> mkdir dir/
(845)osgiliath:~/tmp> ls -ld dir
drwxrwxr-x    2 mstone   mstone          6 2002-09-26 06:43 dir/
(846)osgiliath:~/tmp> rm -rf dir/
(847)osgiliath:~/tmp> ls -ld dir
ls: dir: No such file or directory





reply via email to

[Prev in Thread] Current Thread [Next in Thread]