From 22239f2141afdaf18127730f8e5c128c620a55b7 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 17 Mar 2022 09:09:54 +0100 Subject: [PATCH] Do not cache directories with Tramp sshfs * lisp/net/tramp-sshfs.el (tramp-methods) : Add "-o dir_cache=no" to `tramp-mount-args'. (Bug#54126) --- lisp/net/tramp-sshfs.el | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.5