11.2.0 development build 14 released
C. Scott Ananian
cscott at laptop.org
Sun Mar 20 14:05:53 EDT 2011
On Mon, Mar 21, 2011 at 1:56 AM, C. Scott Ananian <cscott at laptop.org> 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.
> used fakeroot.
> The --fake-super option was added after upserv was written; it's
> probably a better solution now.
cananian at skiffserv:~$ fakeroot
root at skiffserv:~# cd /tmp
root at skiffserv:/tmp# mkdir XYZ
root at skiffserv:/tmp# cd XYZ/
root at skiffserv:/tmp/XYZ# touch foo
root at skiffserv:/tmp/XYZ# echo A > foo
root at skiffserv:/tmp/XYZ# chmod 000 foo
root at skiffserv:/tmp/XYZ# cat foo
root at skiffserv:/tmp/XYZ# exit
so fakeroot (at least debian/unstable's version of fakeroot) should be
able to handle this just fine.
( http://cscott.net/ )
More information about the Devel