The Solution to rsync - mkstemp failed: Permission denied (13) is
Make sure the user you're rsync'd into on the remote machine has write access to the contents of the folder AND the folder itself, as rsync tried to update the modification time on the folder itself.