[Bug 673] New: tar: including twice the same file/directory will end tar prematurely
bugzilla at busybox.net
bugzilla at busybox.net
Mon Oct 19 06:30:46 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=673
Host: i386-linux-gnu
Target: armel-crunch-linux-gnu
Build: BusyBox v1.15.2 (2009-10-09 09:42:34 CEST)
Summary: tar: including twice the same file/directory will end
tar prematurely
Product: Busybox
Version: 1.15.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: fede at evolware.org
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
If the same file is included in a tar archive (operation permitted in creation
stage) then on extraction and error will occour and the operation will be
aborted ignoring files that follows.
To reproduce:
/mnt # mkdir test1
/mnt # mkdir test2
/mnt # mkdir test3
/mnt # :> test1/file1
/mnt # :> test2/file2
/mnt # :> test3/file3
/mnt # tar cf comp.tar test1/ test2/ test1/ test3/
/mnt # mkdir decomp
/mnt # cd decomp/
/mnt/decomp # tar xf ../comp.tar
tar: cannot remove old file test1: Is a directory
/mnt/decomp # ls
test1 test2
/mnt/decomp #
Tried and happens also on an old v1.00 ARM build.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list