On Mon, Mar 21, 2011 at 1:52 AM, C. Scott Ananian <csc...@laptop.org> wrote: > On Mon, Mar 21, 2011 at 1:01 AM, Daniel Drake <d...@laptop.org> wrote: >> On 19 March 2011 17:16, Daniel Drake <d...@laptop.org> wrote: >>> updates.laptop.org now offers this stream. Instructions are on the >>> 11.2.0 page above. >> >> Unfortunately this doesn't work. >> >> Files such as /etc/shadow and /etc/gshadow are now installed from >> Fedora with permissions 000. >> >> rsyncd on updates.laptop.org runs as non-root, hence cannot read these files: >> rsync: send_files failed to open "root/etc/gshadow" (in >> build-11.2.0_xo1.5-14): Permission denied (13) >> >> We could fix this by making these files have permissions 400 in the >> image, or by making rsyncd run as root on updates.laptop.org. >> >> Scott, any thoughts? > > 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. I don't know what's actually running on updates.laptop.org these days. --scott -- ( http://cscott.net/ ) _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel