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

Geir Hauge geirha at stud.ntnu.no
Fri Nov 15 00:46:05 UTC 2002


Package: busybox
Version: 0.60.5
Severity: normal

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

however, supplying the full path of the archive:

        # /bin/tar -zxpf /tmp/busybox-0.60.5.tar.gz -C foo/

or supplying only the basename, but without the -C option:

        # /bin/tar -zxpf busybox-0.60.5.tar.gz

works fine.

Apart from that, busybox is great. Keep it up!
        -Reep





More information about the busybox mailing list