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
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
2 matches
Mail list logo