0

Recently my rsync job has been failing with the error shown below:

rsync: mkstemp "/foo/bar.txt" failed: Permission denied (13)
inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c(548) [receiver=3.0.9]
rsync: connection unexpectedly closed (10864 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.1]
FAILED

I have checked file permissions on both the client and the server side and everything seems ok.

This used to work previously and there have been no significant configuration changes. I'm genuinely stumped and would appreciate some pointers.

1
  • > rsync /source/ foo@remote:/bar/
    – cicero
    Jun 8, 2016 at 6:21

1 Answer 1

0

@Cicero can u show the cmd that u r using on client & file permission on server side.

Generally this error comes when destination host or file path is not correct.

check Ques3 here if it helps

I don't have reputation to comment so replying through Answer.

4
  • See command above
    – cicero
    Jun 8, 2016 at 6:20
  • this doesn't help to figure out the exact error. If u don't want to share the commands , kindly check the link for possible reason including disk space on server side, n/w issue etc.
    – Manii
    Jun 8, 2016 at 6:24
  • Problem solved, it was a permissions error on the server side. sudo chown -R user:group fixed this for me. Thanks for taking the time to assist.
    – cicero
    Jun 8, 2016 at 6:41
  • grt!! thnks for accepting as correct ans.
    – Manii
    Jun 8, 2016 at 6:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .