X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a63335196208a9a08d7b9164c3fd16f0b9b31bc2..b8a6dae038d527af6d31c58026c463300c6b1836:/rsyncd.conf.yo diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index f6075d08..37d7ccd5 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -1,5 +1,5 @@ mailto(rsync-bugs@samba.org) -manpage(rsyncd.conf)(5)(22 Apr 2006)()() +manpage(rsyncd.conf)(5)(11 Oct 2006)()() manpagename(rsyncd.conf)(configuration file for rsync in daemon mode) manpagesynopsis() @@ -126,12 +126,14 @@ for each module in tt(rsyncd.conf). dit(bf(use chroot)) If "use chroot" is true, the rsync daemon 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 of complicating the preservation of usernames and groups -(see below). When "use chroot" is false, rsync takes extra steps to -manually process symlinks in an attempt to make them behave the same -way as when "use chroot" is true (this behavior is new for version -2.6.9). +holes, but it has the disadvantages of requiring super-user privileges, +of not being able to follow symbolic links that are either absolute or outside +of the new root path, and of complicating the preservation of usernames and groups +(see below). 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 most absolute paths (options +such as bf(--backup-dir), bf(--compare-dest), etc. interpret an absolute path as +rooted in the module's "path" dir, just as if chroot was specified). The default for "use chroot" is true. In order to preserve usernames and groupnames, rsync needs to be able to @@ -162,18 +164,6 @@ Any clients connecting when the maximum has been reached will receive a message telling them to try later. The default is 0 which means no limit. See also the "lock file" option. -dit(bf(munge symlinks)) The "munge symlinks" option tells rsync to not -allow absolute symlinks (any leading slashes are stripped) and to trim -parent-dir references ("../") if they attempt to move beyond the root of -the transfer. Use this option if you need to ensure that other processes -(besides a daemon rsync) don't ever see a module-created symlink that can -point outside the module, or perhaps if you value safety over preserving -symlink data. - -Prior to rsync 2.6.9, symlink munging was always enabled when "use chroot" -was off, and always disabled when it was on. Starting with 2.6.9, this -symlink-munging is totally controlled by the setting of this option. - dit(bf(log file)) When the "log file" option is set to a non-empty string, the rsync daemon will log messages to the indicated file rather than using syslog. This is particularly useful on systems (such as AIX) @@ -343,7 +333,7 @@ connection is rejected. Each pattern can be in one of five forms: -quote(itemize( +quote(itemization( it() a dotted decimal IPv4 address of the form a.b.c.d, or an IPv6 address of the form a:b:c::d:e:f. In this case the incoming machine's IP address must match exactly. @@ -422,7 +412,7 @@ rsyncstats.) The single-character escapes that are understood are as follows: -quote(itemize( +quote(itemization( it() %a the remote IP address it() %b the number of bytes actually transferred it() %B the permission bits of the file (e.g. rwxrwxrwt) @@ -499,7 +489,7 @@ transfer is aborted before it begins. The following environment variables will be set, though some are specific to the pre-xfer or the post-xfer environment: -quote(itemize( +quote(itemization( it() bf(RSYNC_MODULE_NAME): The name of the module being accessed. it() bf(RSYNC_MODULE_PATH): The path configured for the module. it() bf(RSYNC_HOST_ADDR): The accessing host's IP address. @@ -600,7 +590,7 @@ manpagefiles() manpageseealso() -rsync(1) +bf(rsync)(1) manpagediagnostics() @@ -611,7 +601,7 @@ url(http://rsync.samba.org/)(http://rsync.samba.org/) manpagesection(VERSION) -This man page is current for version 2.6.8 of rsync. +This man page is current for version 2.6.9pre1 of rsync. manpagesection(CREDITS)