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.