-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/14/11 12:38, Mike Brown wrote: > On Mon, Nov 14, 2011 at 10:36:39AM -0500, Kevin Korb wrote: >> rsync -avzH host:/path/ /path/ >> >> No new daemon or config file needed. > > That is how I started out. But, when run as me, it will not copy over files > that belong to other users. > > I can't run it as root, as root login via ssh is not allowed for security > reasons.
http://www.sanitarium.net/rsyncfaq/#sudo > The UID/GID issue with the server is a nasty bit of fine print that is only > found in the rsyncd.conf man mage. It would be real user friendly to have a > note in the "Starting rsync daemon to accept connections:" section of the > rsync man page saying that using the daemon results in it running as user > and group "nobody" and to see the rsyncd.conf uid/gid module directives for > more detail. This might be a good idea. It is a fairly common question. OTOH, launching as root to be able to bind to a privileged port# then dropping privileges to user nobody is fairly common in services designed to distribute data. Such as Apache. > MB - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Florida k...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7BUx8ACgkQVKC1jlbQAQcKggCgl6D/QXuVjMVS4XEkT+4G5Cu4 KZ4An1gMFCef+sxEBSFCInlfxydfaOSf =zpqc -----END PGP SIGNATURE----- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html