NetBSD-Bugs archive

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

bin/41167: tar failure (inexplicable, easily reproduced)

>Number:         41167
>Category:       bin
>Synopsis:       tar failure (inexplicable, easily reproduced)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 07 15:45:00 +0000 2009
>Originator:     Perry E. Metzger
>Release:        NetBSD 5.99.8
System: NetBSD 5.99.8 NetBSD 5.99.8 (GENERIC) amd64
Architecture: x86_64
Machine: amd64

tar(1) fails in a particular weird case (exemplified by untaring a
pair of files from a base.tgz netbsd install set.)

gtar succeeds in the same case with no trouble.


tar -xzf releasedir/amd64/binary/sets/base.tgz ./rescue/[ ./rescue/atactl
gtar -xzf releasedir/amd64/binary/sets/base.tgz ./rescue/[ ./rescue/atactl

See this transcript:

$ tar -xzf /releasedir/amd64/binary/sets/base.tgz ./rescue/[ ./rescue/atactl
tar: Cannot link to ./rescue/[ from ./rescue/atactl (No such file or directory)
tar: WARNING! These patterns were not matched:
$ ls rescue
ls: rescue: No such file or directory
$ gtar -xzf releasedir/amd64/binary/sets/base.tgz ./rescue/[ ./rescue/atactl
$ ls -l rescue
total 10112
-r-xr-xr-x  2 perry  staff  5148632 Apr  5 14:58 [
-r-xr-xr-x  2 perry  staff  5148632 Apr  5 14:58 atactl



Home | Main Index | Thread Index | Old Index