Bläddra i källkod

Merge pull request #3342 from milkey-mouse/document-sshfs-stupidity-bp1.1

Document sshfs rename workaround (1.1 backport)
TW 7 år sedan
förälder
incheckning
78189ed613
1 ändrade filer med 12 tillägg och 0 borttagningar
  1. 12 0
      docs/faq.rst

+ 12 - 0
docs/faq.rst

@@ -748,6 +748,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
 #############