Re: rsync over lan
On Wed, Sep 10, 2008 at 08:17:14PM -0400, Celejar wrote:
> On Wed, 10 Sep 2008 15:17:57 +0000
> Tzafrir Cohen <tzafrir@cohens.org.il> wrote:
> 
> > Be careful with fakeroot:
> > tzafrir@sweetmorn:~$ 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
> > tzafrir@sweetmorn:~$ 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         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend
Reply to: