Package: coreutils
Version: 5.97-5.3
Severity: grave
Justification: causes non-serious data loss


Running 'tar -r -W -f archive.tar anotherArchive.tar' causes only the contents 
of anotherArchive to be visible, thus rendering whatever was in the archive 
prior to 'appending' anotherArchive.tar to be unreachable by means of the tar 
utility.

Run the attached script to replicate the problem for yourselves. 


Note: I tracked the problem down far enough to figure out that the '-W' option 
is causing this problem to occur. This happens with both the '-r' and the '-A' 
options.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.42-1   Access control list shared library
ii  libc6                         2.5-9      GNU C Library: Shared libraries
ii  libselinux1                   2.0.15-2   SELinux shared libraries

coreutils recommends no packages.

-- no debconf information

Attachment: tarBug
Description: application/shellscript

Reply via email to