summaryrefslogtreecommitdiff
path: root/rsyncd.conf.yo
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-08-02 05:01:36 +0000
committerWayne Davison <wayned@samba.org>2004-08-02 05:01:36 +0000
commit1cb0a3edc67795a652be8bf476cda64493837144 (patch)
tree982ed13db787f6f3fb820bb3b1cdf7deb0732f9c /rsyncd.conf.yo
parent06a5054273b5d8f75ad47b9a6a087790c848ee62 (diff)
downloadrsync-1cb0a3edc67795a652be8bf476cda64493837144.tar.gz
Document the improved "refuse options" syntax.
Diffstat (limited to 'rsyncd.conf.yo')
-rw-r--r--rsyncd.conf.yo10
1 files changed, 8 insertions, 2 deletions
diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo
index e0d1e987..c276485c 100644
--- a/rsyncd.conf.yo
+++ b/rsyncd.conf.yo
@@ -380,8 +380,14 @@ a 10 minute timeout).
dit(bf(refuse options)) The "refuse options" option allows you to
specify a space-separated list of rsync command line options that will
-be refused by your rsync server. The full names of the options must be
-used (i.e., you must use "checksum" not "c" to disable checksumming).
+be refused by your rsync server.
+You may specify the full option name, its one-letter abbreviation, or a
+wild-card string that matches multiple options.
+For example, this would refuse --checksum (-c) and all the options that
+start with "delete":
+
+quote(refuse options = c delete*)
+
When an option is refused, the server prints an error message and exits.
To prevent all compression, you can use "dont compress = *" (see below)
instead of "refuse options = compress" to avoid returning an error to a