On Mon, Mar 21, 2011 at 1:56 AM, C. Scott Ananian <[email protected]> wrote:
>> I used to run rsyncd inside fakeroot, which solved these problems
>> neatly.  There's also a --fake-super option to rsync which can work.
>> Or you can just run rsync as root.
>
> http://dev.laptop.org/git/users/cscott/upgrade-server/tree/upserv.py
> used fakeroot.
> The --fake-super option was added after upserv was written; it's
> probably a better solution now.

cananian@skiffserv:~$ fakeroot
root@skiffserv:~# cd /tmp
root@skiffserv:/tmp# mkdir XYZ
root@skiffserv:/tmp# cd XYZ/
root@skiffserv:/tmp/XYZ# touch foo
root@skiffserv:/tmp/XYZ# echo A > foo
root@skiffserv:/tmp/XYZ# chmod 000 foo
root@skiffserv:/tmp/XYZ# cat foo
A
root@skiffserv:/tmp/XYZ# exit

so fakeroot (at least debian/unstable's version of fakeroot) should be
able to handle this just fine.
 --scott

-- 
                         ( http://cscott.net/ )
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to