Document in --owner and "use chroot" that --numeric-ids is implied when
authorDavid Dykstra <dwd@samba.org>
Thu, 27 Jun 2002 17:51:25 +0000 (17:51 +0000)
committerDavid Dykstra <dwd@samba.org>
Thu, 27 Jun 2002 17:51:25 +0000 (17:51 +0000)
use chroot is yes.

rsync.yo
rsyncd.conf.yo

index 699986e..5f13d38 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -428,7 +428,9 @@ permissions to be the same as the local permissions.
 
 dit(bf(-o, --owner)) This option causes rsync to set the owner of the
 destination file to be the same as the source file.  On most systems,
-only the super-user can set file ownership.  
+only the super-user can set file ownership.  Note that if the remote system
+is a daemon using chroot, the --numeric-ids option is implied because the
+remote system cannot get access to the usernames from /etc/passwd.
 
 dit(bf(-g, --group)) This option causes rsync to set the group of the
 destination file to be the same as the source file.  If the receiving
index a8c69e6..8f8177f 100644 (file)
@@ -132,12 +132,13 @@ for each module in tt(/etc/rsyncd.conf).
 dit(bf(use chroot)) If "use chroot" is true, the rsync server will chroot
 to the "path" before starting the file transfer with the client.  This has
 the advantage of extra protection against possible implementation security
-holes, but it has the disadvantages of requiring super-user privileges and
+holes, but it has the disadvantages of requiring super-user privileges
 of not being able to follow symbolic links outside of the new root path
-when reading.  When "use chroot" is false, for security reasons
-symlinks may only be relative paths pointing to other files within the
-root path, and leading slashes are removed from absolute paths.  The
-default for "use chroot" is true.
+when reading, and of implying the --numeric-ids option because /etc/passwd
+becomes inaccessible.  When "use chroot" is false, for security reasons
+symlinks may only be relative paths pointing to other files within the root
+path, and leading slashes are removed from absolute paths.  The default for
+"use chroot" is true.
 
 dit(bf(max connections)) The "max connections" option allows you to
 specify the maximum number of simultaneous connections you will allow.