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: Robert Millan
Subject: Re: Bug#162414: coreutils: rm -rf does not delete dir/ with trailing slash
Date: Fri, 27 Sep 2002 13:30:45 +0200
User-agent: Mutt/1.4i

> Hi,
> 
> this is a bug in the glibc that is already fixed in CVS.
> Michal, such things are usually bugs in the Hurd (or glibc),
> so it seems better to me if you report them to bug-hurd first
> to verify that.
> 
> Thanks,
> Marcus

wasn't it a feature? =)

it's still in http://www.debian.org/ports/hurd/hurd-devel-debian,
could someone take it off?

CCing debian-hurd

thanks

On Thu, Sep 26, 2002 at 06:44:40AM -0400, Michael Stone wrote:
> 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.
> >
> >hramrach@hurd:~$ mkdir dir/
> >hramrach@hurd:~$ ls -ld dir
> >drwxr-xr-x    2 hramrach hramrach     4096 Sep 25 17:01 dir
> >hramrach@hurd:~$ rm -rf dir/
> >rm: cannot remove `dir/': Invalid argument
> >                     ^   ^
> >hramrach@hurd:~$ rm -rf dir
> >hramrach@hurd:~$ 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
> 
> 
> 
> _______________________________________________
> Bug-hurd mailing list
> Bug-hurd@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-hurd
> 

-- 
Robert Millan

"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"

              Andrew S. Tanenbaum, 30 Jan 1992




reply via email to

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