This looks pretty similar to this error, albeit I've found no strict evidence / clear explanation yet. I can't either touch nor chmod files on the destination.
Only the file owner can change the file timestamp.
I got this error while rsyncing data from a local filesystem to a network share served by Samba :
rsync: [generator] symlink "/sambaMountPoint/symlink" -> "/sambaMountPoint/path/to/someFile" failed: Operation not supported (95)
Could be caused by :
- local process(es ?) missing the result of eval $(ssh-agent)
- or concurrent ssh-agent processes :
- Check it with pgrep ssh-agent
- "kill -1" the extra processes
I experimented a bit on the machine having the issue, but after playing around I've not been able to reproduce it anymore. So more details someday (... maybe )
Full error message :
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(176) [sender=3.1.1]
man rsync + searching for mismatch gives further information : while trying to rsync over SSH, it seems that the remote shell opening returns some unexpected data. To figure this out :
ssh bob@remoteHost /bin/true
In normal situations, this should return nothing. Otherwise, the error message you'll see is the reason why rsync fails.
For instance, when it said This account is currently not available, it's because Bob had his shell set to /usr/sbin/nologin in /etc/passwd.
The complete error message is :
ksh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: remote command not found (code 127) at io.c(600) [receiver=3.0.6]
rsync --rsync-path=/usr/local/bin/rsync [other rsync parameters]
/usr/local/bin/rsync is the path to the rsync binary on the Solaris machine.