Not all files copied
kmk at sanitarium.net
Mon Nov 14 10:42:55 MST 2011
-----BEGIN PGP SIGNED MESSAGE-----
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
> 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.
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at 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/
-----END PGP SIGNATURE-----
More information about the rsync