This fixed my RSYNC problem on mac-os 10.8. I was copying my documents file to a windows network drive i created on my windows box using an external USB 3.0 hd.

Here is the error:

rsync error: some files could not be transferred (code 23)