Package: cpio
Version: 2.11-4
Severity: critical
Tags: d-i
Justification: causes serious data loss

The behavoir of this two invocations of cpio is different, yet they should 
produce the same output:

cd /; find / -mount -print | cpio -pvdum /mydisk/dir (incorrect output)

cd /; find . -mount -print | cpio -pvdum /mydisk/dir (correct output)

In the first case, it destroys the previously existing directory "dir"
and writes to a file named "dir". The second case works as expected.

In my system this is an easy to reproduce error.


-- System Information:
Debian Release: 6.0.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_UY.utf8, LC_CTYPE=es_UY.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cpio depends on:
ii  dpkg                      1.15.8.13      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib

cpio recommends no packages.

cpio suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to