Package: tar Version: 1.27.1-1~bpo70+1 Severity: normal Dear Maintainer,
since version 1.27 tar honours ACLs and filesystem xattrs ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=254615 ) Many users would expect, that tar c --directory orig/ . | tar x --directory restore/ would backup and restore files including permissions correctly. But that is not the case: Create two directories and a file with acls and xattrs on a filesystem that supports them: mkdir orig restore touch orig/file_with_acl_capability_and_user_xattr setcap cap_net_raw=p orig/file_with_acl_capability_and_user_xattr setfattr -n user.testkey -v testvalue orig/file_with_acl_capability_and_user_xattr setfacl -m u:nutzer23:rwx orig/file_with_acl_capability_and_user_xattr Check whether xattrs and acls are there: getfattr -m . -d orig/file_with_acl_capability_and_user_xattr getfacl orig/file_with_acl_capability_and_user_xattr Create a simple backup with tar: tar c --directory orig/ . | tar x --directory restore/ Check whether xattrs and acls are still there: getfattr -m . -d restore/file_with_acl_capability_and_user_xattr getfacl restore/file_with_acl_capability_and_user_xattr Thats not the case. The authors of the acl and xattr patch were aware of this problem, but decided not to solve it: https://bugzilla.redhat.com/show_bug.cgi?id=771927#c24 -- System Information: Debian Release: 7.8 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages tar depends on: ii libacl1 2.2.51-8 ii libc6 2.13-38+deb7u6 ii libselinux1 2.1.9-5 tar recommends no packages. Versions of packages tar suggests: ii bzip2 1.0.6-4 pn ncompress <none> pn tar-scripts <none> ii xz-utils 5.1.1alpha+20120614-2 -- 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