On Wed, Sep 10, 2008 at 08:17:14PM -0400, Celejar wrote: > On Wed, 10 Sep 2008 15:17:57 +0000 > Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > > Be careful with fakeroot: > > [EMAIL PROTECTED]:~$ ls -l /etc/ | grep -v root > > total 2156 > > -rw-r----- 1 asterisk asterisk 4500 2008-08-12 23:31 amportal.conf > > drwxrwxr-x 4 asterisk asterisk 4096 2008-09-10 13:57 asterisk > > -rw-r----- 1 mpd audio 8037 2008-01-30 05:25 mpd.conf > > drwxr-x--- 2 partimag partimag 4096 2008-08-31 21:02 partimaged > > [EMAIL PROTECTED]:~$ fakeroot ls -l /etc/ | grep -v root > > total 2156 > > You're pointing out that within fakeroot, all files that have been > created normally (before fakeroot has started) will show up as > root:root; this is explained in the manpage, IIUC:
Not only that. As root: # cat /etc/shadow >/dev/null # Faking it: $ fakeroot cat /etc/shadow cat: /etc/shadow: Permission denied Darn, fakeroot still does not fake me a set of configuration files :-) -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]