Bug#57726: mv from busybox enters an endless loop
On Thu Feb 10, 2000 at 01:37:54PM +0100, Santiago Vila wrote:
> Package: boot-floppies
> Version: 2.2.6-2000-02-07
> Severity: important
>
> The "mv" command still behaves strangely: As in Bug #56478, I rename
> root.bin as root.bin.gz, gunzip it and mount it under /mnt. Then I try:
>
> cd /tmp
> mkdir foo
> cd foo
> mkdir a
> touch b
> /mnt/bin/mv * a
>
> and this makes `mv' to enter in an endless loop.
>
> When I stop it by pressing Control+C, I have an `a' directory containing
> an `a' directory, containing an `a' directory, containing an `a'
> directory, containing an `a' directory...
>
> I think this bug should be fixed before release.
Ok, just tested and confirmed that this bug exists. This bug also afflicts
busybox cp as well as mv. I'll try to get a fix for it out today. I was
planning on cutting a release of busybox this morning -- I'll delay it for
this fix.
-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: