Not all files copied
Kevin Korb
kmk at sanitarium.net
Mon Nov 14 10:42:55 MST 2011
-----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. 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/
iEYEARECAAYFAk7BUx8ACgkQVKC1jlbQAQcKggCgl6D/QXuVjMVS4XEkT+4G5Cu4
KZ4An1gMFCef+sxEBSFCInlfxydfaOSf
=zpqc
-----END PGP SIGNATURE-----
More information about the rsync
mailing list