rsync errors

Philip Hallstrom freebsd at philip.pjkh.com
Sun May 28 21:38:21 PDT 2006


> I have rsync installed on 2 6.1-RELEASE boxes on my home lan.  I want to sync 
> the webserver (curly) to the backup server (moe).  When I run rsync on moe, I 
> get the following:
>
> $ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/apache22
> Password:
> receiving file list ... done
> rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI" failed: 
> Permission denied (13)
> inflate returned -3 (0 bytes)
> rsync error: error in rsync protocol data stream (code 12) at token.c(421) 
> [receiver=2.6.8]
> rsync: connection unexpectedly closed (46 bytes received so far) [generator]
> rsync error: error in rsync protocol data stream (code 12) at io.c(472) 
> [generator=2.6.8]
>
> Where can I look to correct this?

Do you have write access to moe:/usr/local/etc/apache22?  What happens if 
you try and create a file in that directory... does it work?

-philip


More information about the freebsd-questions mailing list