There's an sshfs option '-oworkaround=rename' which works around this sftp misfeature, although the resulting rename operation will no longer be atomic as required by POSIX.
-- Failure to Save to SSHFS volumes https://launchpad.net/bugs/36091 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs