Bug#908060: fakeroot: Extracting files with set file capabilites using tar results invalid mode

2023-02-15 Thread Sebastian von Ohr
I've also come across this bug. This seems to be a problem in the mknod wrapper function. When using tar with --xattrs it creates files using mknod, but without specifying a file type. An empty file type should be equivalent to S_IFREG. Fakeroot doesn't handle this and just stores the exact

Bug#908060: fakeroot: Extracting files with set file capabilites using tar results invalid mode

2018-09-05 Thread Balint Reczey
Package: fakeroot Version: 1.23-1 Dear Maintainer, The following operation fails with fakeroot but works with sudo: $ fakeroot bash -c "touch asd && chmod 0775 asd && setcap cap_net_raw+ep asd && tar --xattrs -czf asd.tar.gz asd && rm asd" $ fakeroot bash -c "tar --xattrs-include='*' -xf