cannot rsync when source directory lacks write permission

Voelker, Bernhard bernhard.voelker at siemens-enterprise.com
Fri Aug 10 02:00:49 MDT 2012


András Porjesz wrote (Friday, August 10, 2012 9:27 AM):

> I think all the permission/ownership handling is complicated
> (unaccountable, puzzling, peculiar) and the usage is confusing
> and annoying

I think you didn't get Steven's point:

>>              [...] The default is
>>              uid -2, which is normally the user nobody.

I.e. even if your rsyncd is running as root, it drops it's
priviledges by default by becoming 'nobody'.

That is a pre-cautious security issue which meets the 
requirements for most installations which just serve
files read-only.

When you want to push things there, then you might either
rsync-via-ssh to that server as root (or sudo there), or
set 'uid' to root in rsyncd.conf.

Have a nice day,
Berny



More information about the rsync mailing list