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

Re: busybox and 'mv <dir>' fails [Was: Bug#53563: File name confusion prevents install from hd]



On Mon Dec 27, 1999 at 05:27:20PM -0700, Erik Andersen wrote:
> On Mon Dec 27, 1999 at 03:07:59PM -0800, Ross Boylan wrote:
> > (By the way, mv doesn't do whole directories; if that's not supposed to be
> > a limitation of the shell it would be good to fix).
> 
> I can confirm and duplicate this part of the bug report.  
> 
>     [andersen@slag busybox]$ cp -a /etc/X11 .
>     [andersen@slag busybox]$ ./busybox mv X11 testdir
>     X11: Is a directory
>     [andersen@slag busybox]$ ls -lad X11 testdir
>     drwxr-xr-x   18 andersen andersen     1024 Dec 15 13:25 X11/
>     drwxrwsr-x    2 andersen andersen     1024 Dec 27 17:22 testdir/
>     [andersen@slag busybox]$ ls -la testdir/
>     total 4
>     drwxrwsr-x    2 andersen andersen     1024 Dec 27 17:22 ./
>     drwxrwsr-x    5 andersen andersen     3072 Dec 27 17:22 ../
> 
> I'll fix this busybox bug right up.
> 

Fixed now in CVS. Busybox cp and mv were VERY broken when moving
directories. I have rewritten them so they should now work as expected.

Testing would be apprecieated,

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--


Reply to: