chmod/chown on receiver

Wayne Davison wayned at samba.org
Fri Feb 10 23:32:17 GMT 2006


On Fri, Feb 10, 2006 at 10:44:58PM +0000, rsync at hot.ping.de wrote:
> These files have to be rw by wwwrun on the receiver. 

As long as your remote-shell logs in as user wwwrun, the files will be
owned by that user.  If you're logging in as root, just run rsync as
that user (e.g. --rsync-path="su - wwwrun rsync").  If you're using a
daemon, set the "uid = wwwrun" option for that module.

As for forcing permissions, see the --chmod=u+rw option and the
"incoming chmod = u+rw" daemon option, both available in 2.6.7
(which is now in pre-release testing).

..wayne..


More information about the rsync mailing list