rsync errors

Charles Howse chowse at charter.net
Sun May 28 22:21:51 PDT 2006


On May 28, 2006, at 11:41 PM, Philip Hallstrom wrote:

>> 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?

It was a permissions problem, fixed now, thanks very much.




More information about the freebsd-questions mailing list