Package: fdupes
Version: 1.50-PR2-3
Severity: critical
Justification: causes serious data loss

By mistake, I have been using fdupes -rL on what i thought were
directories, but one was a symbolic link to a directory on another
file system. It found duplicates accross file systems, ... and
removed one end. For the little story, the end where it removed
files was /lib, and I was deduplicating chroots, so it found
plenty of duplicates... try running anything without ld.so...

Anyways, this can easily be reproduced. Assuming /mnt/a and /mnt/b
are two different filesystems:
$ echo a > /mnt/a/a
$ echo a > /mnt/a/b
$ echo a > /mnt/b/a
$ fdupes -rL /mnt/a /mnt/b
   [+] /mnt/a/a                       
   [h] /mnt/a/b
-- unable to create a hardlink for the file: Invalid cross-device link
   [!] /mnt/a/a 
$ ls /mnt/b
$

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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



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

Reply via email to