uid/gid settings in rsyncd.conf not respected?

Wayne Davison wayned at samba.org
Sat Feb 21 02:08:27 GMT 2009


On Sat, Feb 14, 2009 at 08:53:22PM -0500, Matt McCutchen wrote:
> The attached patch (also in wip/supplementary-groups of my repository)
> adds a daemon parameter to take on the supplementary groups.

I went a little different route than this path by allowing the user to
specify one or more groups via the gid setting.  It will also expand the
string "*" (if specified as the first item) into the normal grouplist
for the requested user.  I then changed a non-super-user daemon-run to
default the uid/gid parameters to NULL, which allows rsync to know if
the user requested a value, and it will now complain if a specified
setting fails.  A super-user run still defaults to nobody if
unspecified.

..wayne..


More information about the rsync mailing list