Bug#1031355: setxattr does not set owner to root when file is unknown

2023-02-15 Thread Sebastian von Ohr
Package: fakeroot Version: 1.30.1-1.1 The default behavior for fakeroot is to show unknown files owned by root. When setting extended attributes on a file the owner stored by fakeroot is the real owner. The behavior can be observed when running the following commands inside fakeroot: touch

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#1029675: faked daemon exits on SIGWINCH signal

2023-01-26 Thread Sebastian von Ohr
Package: fakeroot Version: 1.30.1-1.1 The faked daemon installs signal handlers by looping from 1 to NSIG (faked.c:1481) with some special handling for some signals. However, for most signals the `cleanup` function is registered as handler. Specifically, with the SIGWINCH signal this can lead