Package: fakeroot Version: 1.9.5 Severity: normal (Edited for clarity.)
$ ls -l foo -rw------- 1 drake drake 0 2008-08-04 01:23 foo $ fakeroot ls -l foo -rw------- 1 root root 0 2008-08-04 01:23 foo $ fakeroot pax -w -x cpio foo >foo.cpio; pax -v <foo.cpio; cpio -tv <foo.cpio -rw------- 1 drake drake 0 en_GB.UTF-8 foo pax: cpio vol 1, 1 files, 5120 bytes read, 0 bytes written. -rw------- 1 1000 1000 0 Aug 4 01:23 foo 1 block $ sudo chown root:root foo $ sudo chmod a+r foo $ ls -l foo -rw-r--r-- 1 root root 0 2008-08-04 01:23 foo $ fakeroot ls -l foo -rw-r--r-- 1 root root 0 2008-08-04 01:23 foo $ pax -w -x cpio foo >foo.cpio; pax -v <foo.cpio; cpio -tv <foo.cpio -rw-r--r-- 1 root root 0 en_GB.UTF-8 foo pax: cpio vol 1, 1 files, 5120 bytes read, 0 bytes written. -rw-r--r-- 1 0 0 0 Aug 4 01:23 foo 1 block $ fakeroot pax -w -x cpio foo >foo.cpio; pax -v <foo.cpio; cpio -tv <foo.cpio -rw-r--r-- 1 root root 0 en_GB.UTF-8 foo pax: cpio vol 1, 1 files, 5120 bytes read, 0 bytes written. -rw-r--r-- 1 0 0 0 Aug 4 01:23 foo 1 block It would be nice to use fakeroot to create a pax archive where all the files are owned by root; using ls or most other manipulations on files owned by myself show them to be pseudo-owned by root, but pax doesn't see it and writes the archive with my UID in it. My immediate wild guess is that fakeroot is not handling fstat calls or somesuch, based on the output of strace (not shown here), but that's just a wild guess. ---> Drake Wilson -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24.2 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fakeroot depends on: ii libc6 2.7-13 GNU C Library: Shared libraries fakeroot recommends no packages. fakeroot suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]