Rsyncd.conf: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * https://download.samba.org/pub/rsync/rsyncd.conf.html =Internal= * rsync") |
No edit summary |
||
Line 6: | Line 6: | ||
* [[rsync#rsyncd.conf|rsync]] | * [[rsync#rsyncd.conf|rsync]] | ||
=Configure User and Group= | |||
Setting uid to 0 and git to 0 enable the rsyncd server to preserve the original owner and groups for transferred files. The uid/gid can be set globally or per-module: | |||
... | |||
uid = root | |||
git = root | |||
... | |||
[some-module] | |||
path = /some-path | |||
... | |||
uid = root | |||
gid = root |
Revision as of 05:35, 27 December 2018
External
Internal
Configure User and Group
Setting uid to 0 and git to 0 enable the rsyncd server to preserve the original owner and groups for transferred files. The uid/gid can be set globally or per-module:
... uid = root git = root ... [some-module] path = /some-path ... uid = root gid = root