summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2022-03-17 09:09:54 +0100
committerMichael Albinus <michael.albinus@gmx.de>2022-03-17 09:09:54 +0100
commit22239f2141afdaf18127730f8e5c128c620a55b7 (patch)
tree463463cf8336fbbb03816b5f98d0e06f03978c9d
parent4fc585418bd557a0920556c76be4c1b3dda62219 (diff)
downloademacs-22239f2141afdaf18127730f8e5c128c620a55b7.tar.gz
Do not cache directories with Tramp sshfs
* lisp/net/tramp-sshfs.el (tramp-methods) <sshfs>: Add "-o dir_cache=no" to `tramp-mount-args'. (Bug#54126)
-rw-r--r--lisp/net/tramp-sshfs.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/tramp-sshfs.el b/lisp/net/tramp-sshfs.el
index 2f9d8a0681b..9dcb6259fb1 100644
--- a/lisp/net/tramp-sshfs.el
+++ b/lisp/net/tramp-sshfs.el
@@ -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.