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

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to