Incremental file updates over a network, NFS?

Matt McCutchen matt at mattmccutchen.net
Mon Mar 17 14:35:37 GMT 2008


On Mon, 2008-03-17 at 12:24 +0100, Andy Smith wrote:
> ok so basically that would (invoke with SETUID) be to invoke rsync daemon 
> as root for example? More
> or less I have to run the daemon as root to be able to update files for all 
> users dont I? For example if I want
> to rsync the homedirs area, I have to run the deamon as root or run a 
> seperate rsync per homedir/UID?

Yes, the daemon needs to run as a user who has permission to update the
desired files.  If the homedirs need to be usable as-is on the
destination, your best bet is probably to run the daemon as root.  On
the other hand, if you're just making a backup, you could run the daemon
as an unprivileged user and still record the original ownership using
--fake-super.

Matt



More information about the rsync mailing list