Rsyncd.conf: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://download.samba.org/pub/rsync/rsyncd.conf.html =Internal= * rsync")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:


* [[rsync#rsyncd.conf|rsync]]
* [[rsync#rsyncd.conf|rsync]]
=Overview=
=Configure User and Group=
Setting uid to "root" and gid 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

Latest revision as of 05:36, 27 December 2018

External

Internal

Overview

Configure User and Group

Setting uid to "root" and gid 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