bug#1286: [BusyBox] bug#1286: /bin/tar -C bug

Glenn McGrath bug1 at optushome.com.au
Fri Nov 15 14:47:05 UTC 2002


On Fri, 15 Nov 2002 08:35:46 +0100 (MET)
Geir Hauge <geirha at stud.ntnu.no> wrote:
 
> tar has some odd behaviors when using the -C option. For example:
> 
>         # /bin/ls -ld busybox-0.60.5.tar.gz foo
>         -rw-r--r--    1 root     root       785216 Nov 15 06:59
>         busybox-0.60.5.tar.gz drwxr-xr-x    2 root     root         4096
>         Nov 15 08:21 foo
>         # /bin/tar -zxpf busybox-0.60.5.tar.gz -C foo/
>         tar: Error opening 'busybox-0.60.5.tar.gz': No such file or
>         directory

Thanks, ive fixed this in CVS, i was doing a chdir before opening the
file, so it was looking in the wrong path, its a bug that crept in with
the recent changes.


Glenn 



More information about the busybox mailing list