On Tue, Jan 25, 2011 at 09:56:28AM +0100, Mats Erik Andersson wrote: > A comment just for the record. > > måndag den 24 januari 2011 klockan 22:10 skrev Aurelien Jarno detta: > > Ok, I have finally understood the problem: > > 1) in eglibc we implement at* functions, but mark them as stub as the > > emulation for FreeBSD 7.x kernels is not perfect. FreeBSD 8.x have > > this syscalls natively, and thus don't need emulation. > > 2) newer versions of tar start to use the fstatat syscall. > > 3) fakeroot doesn't emulate this syscall because it is marked as stub > > in eglibc. > > Even before the original bug report, I did verify that > > fakeroot tar -cf /tmp/df.tar /etc/default > > is able to arrive at ownership 'root:root', which does also > with kfreebsd-amd64/unstable. Does this correlate completely?
In this case, even if fakeroot doesn't intercept the fstatat function, the ownership is already root on the drive, that's why they it is correct in the tarball. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org