X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/17af842d2d9ba71b4b6a436ee75102bf941b643a..2243a9353e34b30a7d26220f4f83a5705855873d:/rsyncd.conf.yo diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index a5152fd5..3f394dca 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -263,12 +263,25 @@ only superficially equivalent to the client specifying the bf(--include-from) option with a equivalent file. See the "exclude" option above. -dit(bf(incoming chmod)) This option allows you to specify a chmod string -that will affect the permissions of all incoming files (files that are -being copied to the daemon). These changes happen last, giving you the -final word on what the permissions should look like in the repository. See -the description of the bf(--chmod) rsync option and the bf(chmod) manpage -for information on the format of this string. +dit(bf(incoming chmod)) This option allows you to specify a set of +comma-separated chmod strings that will affect the permissions of all +incoming files (files that are being received by the daemon). These +changes happen after any user-requested changes the client requested via +bf(--chmod). Note, however, the if the client didn't specify bf(--perms), +the daemon's umask setting will still mask the value before it is used, so +be sure it is set appropriately if this is a concern. +See the description of the bf(--chmod) rsync option and the bf(chmod)(1) +manpage for information on the format of this string. + +dit(bf(outgoing chmod)) This option allows you to specify a set of +comma-separated chmod strings that will affect the permissions of all +outgoing files (files that are being sent out from the daemon). These +changes happen first, making the sent permissions appear to be different +than those stored in the filesystem itself. For instance, you could +disable group write permissions on the server while having it appear to +be on to the clients. +See the description of the bf(--chmod) rsync option and the bf(chmod)(1) +manpage for information on the format of this string. dit(bf(auth users)) The "auth users" option specifies a comma and space-separated list of usernames that will be allowed to connect to @@ -394,24 +407,25 @@ rsyncstats.) The single-character escapes that are understood are as follows: quote(itemize( - it() %h for the remote host name - it() %a for the remote IP address - it() %l for the length of the file in bytes - it() %p for the process ID of this rsync session - it() %o for the operation, which is "send", "recv", or "del." - (the latter includes the trailing period) - it() %f for the filename (long form on sender; no trailing "/") - it() %n for the filename (short form; trailing "/" on dir) - it() %L either the string " -> SYMLINK", or " => HARDLINK" or an - empty string (where bf(SYMLINK) or bf(HARDLINK) is a filename) - it() %P for the module path - it() %m for the module name - it() %t for the current date time - it() %u for the authenticated username (or the null string) - it() %b for the number of bytes actually transferred - it() %c when sending files this gives the number of checksum bytes - received for this file + 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) + it() %c the checksum bytes received for this file (only when sending) + it() %f the filename (long form on sender; no trailing "/") + it() %G the gid of the file (decimal) or "DEFAULT" + it() %h the remote host name it() %i an itemized list of what is being updated + it() %l the length of the file in bytes + it() %L the string " -> SYMLINK", " => HARDLINK", or "" (where bf(SYMLINK) or bf(HARDLINK) is a filename) + it() %m the module name + it() %M the last-modified time of the file + it() %n the filename (short form; trailing "/" on dir) + it() %o the operation, which is "send", "recv", or "del." (the latter includes the trailing period) + it() %p the process ID of this rsync session + it() %P the module path + it() %t the current date time + it() %u the authenticated username or an empty string + it() %U the uid of the file (decimal) )) For a list of what the characters mean that are output by "%i", see the