Document how refusing "delete" affects --remove-sent-files.
authorWayne Davison <wayned@samba.org>
Sun, 20 Feb 2005 01:04:37 +0000 (01:04 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 20 Feb 2005 01:04:37 +0000 (01:04 +0000)
rsyncd.conf.yo

index 11740c9..79f2190 100644 (file)
@@ -459,6 +459,10 @@ quote(tt(    refuse options = c delete))
 
 The reason the above refuses all delete options is that the options imply
 bf(--delete), and implied options are refused just like explicit options.
 
 The reason the above refuses all delete options is that the options imply
 bf(--delete), and implied options are refused just like explicit options.
+As an additional safety feature, the refusal of "delete" also refuses
+bf(remove-sent-files) when the daemon is the sender; if you want the latter
+without the former, instead refuse "delete-*" -- that refuses all the
+delete modes without affecting bf(--remove-sent-files).
 
 When an option is refused, the server prints an error message and exits.
 To prevent all compression, you can use "dont compress = *" (see below)
 
 When an option is refused, the server prints an error message and exits.
 To prevent all compression, you can use "dont compress = *" (see below)