From e9dbc8d66df2bdbe0a1071868cf10a241fdf9e47 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 22 Apr 2026 12:14:29 +1000 Subject: [PATCH] rsyncd.conf: document the temp dir parameter The temp dir parameter was functional but undocumented in the man page. Fixes: https://github.com/RsyncProject/rsync/issues/820 Co-Authored-By: Claude Opus 4.6 (1M context) --- rsyncd.conf.5.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rsyncd.conf.5.md b/rsyncd.conf.5.md index 2f257659..816687e6 100644 --- a/rsyncd.conf.5.md +++ b/rsyncd.conf.5.md @@ -1073,6 +1073,16 @@ in the values of parameters. See that section for details. **system()** call's default shell), and use RSYNC_NO_XFER_EXEC to disable both options completely. +0. `temp dir` + + Specifies a directory that rsync should use for temporary files created + during the transfer of updated files. If that directory is on a different + partition, after transfer file is being copied instead of unlinked. + + This parameter equals with `--temp-dir` option, so please consult rsync + manpage for further information. + + ## CONFIG DIRECTIVES There are currently two config directives available that allow a config file to