]> git.eshelyaron.com Git - emacs.git/commitdiff
Do not cache directories with Tramp sshfs
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Mar 2022 08:09:54 +0000 (09:09 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Mar 2022 08:09:54 +0000 (09:09 +0100)
* lisp/net/tramp-sshfs.el (tramp-methods) <sshfs>:
Add "-o dir_cache=no" to `tramp-mount-args'.  (Bug#54126)

lisp/net/tramp-sshfs.el

index 2f9d8a0681b3256c78122bc860f0f70aa23b9d9f..9dcb6259fb114d62aca735834943935e2f562427 100644 (file)
@@ -51,6 +51,7 @@
  (add-to-list 'tramp-methods
              `(,tramp-sshfs-method
                (tramp-mount-args            (("-C") ("-p" "%p")
+                                             ("-o" "dir_cache=no")
                                              ("-o" "transform_symlinks")
                                              ("-o" "idmap=user,reconnect")))
                ;; These are for remote processes.