When doing
| touch -h some_link
to a symbolic link located in an sshfs-mounted directory, it doesn't set
the time stamp of the link. Instead, sshfs follows the link on server
side and it sets the time of the target file. If the target doesn't
exist, the touch command fails and it says
| touch: setting times of `some_link': No such file or directory
This also makes rsync fail when doing
| rsync -au src/ dest/
if src/ contains a symbolic link and dest/ is on sshfs. rsync tries to
preserve the times of the link and complains
| rsync: failed to set times on "dest/some_link": No such file or
| directory (2)
If the link points to an existing file on the server, then sshfs follows
the link and rsync erroneously copies the time stamp of the link to the
destination file on the server.