Package: tar Version: 1.29b-1.1 Severity: normal File: /bin/tar Dear Maintainer,
The code to skip over existing files fails in the presence of extended attributes, causing tar to keep processing the same file over and over again. Here's a simple way to reproduce the problem starting with an empty directory: $ touch file-with-xattr $ setfattr --name user.mime_type --value text/plain file-with-xattr $ tar --create --xattrs -f - . | tar --extract --xattrs --skip-old-files --warning=existing-file -f - 2>&1 | head -n 4 tar: .: skipping existing file tar: ./file-with-xattr: skipping existing file tar: ./file-with-xattr: skipping existing file tar: ./file-with-xattr: skipping existing file Note: Some file systems need the mount option `user_xattr' to enable support for extended attributes. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: armhf (armv7l) Kernel: Linux 4.0.0-02741-gd30eae4-dirty (SMP w/2 CPU cores) Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8), LANGUAGE=da_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages tar depends on: ii libacl1 2.2.52-3+b1 ii libc6 2.24-11 ii libselinux1 2.6-3+b1 tar recommends no packages. Versions of packages tar suggests: ii bzip2 1.0.6-8.1 pn ncompress <none> pn tar-scripts <none> ii xz-utils 5.2.2-1.2+b1 -- no debconf information