浏览代码

Document sshfs rename workaround (fixes #3315) (#3325)

Document sshfs rename workaround, fixes #3315
Milkey Mouse 7 年之前
父节点
当前提交
7cb36a20b4
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      docs/faq.rst

+ 12 - 0
docs/faq.rst

@@ -719,6 +719,18 @@ rather not implement progress / ETA display than doing futile attempts.
 See also: https://xkcd.com/612/
 
 
+Why am I getting 'Operation not permitted' errors when backing up on sshfs?
+---------------------------------------------------------------------------
+
+By default, ``sshfs`` is not entirely POSIX-compliant when renaming files due to
+a technicality in the SFTP protocol. Fortunately, it also provides a workaround_
+to make it behave correctly::
+
+    sshfs -o workaround=rename user@host:dir /mnt/dir
+
+.. _workaround: https://unix.stackexchange.com/a/123236
+
+
 Miscellaneous
 #############