]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Improved the "use chroot" section to mention how to get user/group
authorWayne Davison <wayned@samba.org>
Fri, 23 Jan 2004 09:30:45 +0000 (09:30 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 23 Jan 2004 09:30:45 +0000 (09:30 +0000)
preservation by name (getting rid of the erroneous bit about the
--numeric-ids option being implied).

rsyncd.conf.yo

index 71ca460464ec492f810a073b3c9e44286539d904..a4fa4f05182a71270fb8be449f0aee29af2fe0f4 100644 (file)
@@ -135,8 +135,10 @@ 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, 
 of not being able to follow symbolic links outside of the new root path
-when reading, and of implying the --numeric-ids option because /etc/passwd
-becomes inaccessible.  When "use chroot" is false, for security reasons
+when reading, and of complicating the preservation of usernames and groups
+(you'll need to supply in-chroot versions of etc/passwd and etc/group if
+you want named-based user/group mapping to be performed).
+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.