summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-smb.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/tramp-smb.el')
-rw-r--r--lisp/net/tramp-smb.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index 54835efe226..48d015013c0 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -548,6 +548,7 @@ PRESERVE-UID-GID is completely ignored."
(tramp-smb-send-command v (format "mkdir \"%s\"" file))
;; We must also flush the cache of the directory, because
;; file-attributes reads the values from there.
+ (tramp-flush-file-property v localname)
(tramp-flush-file-property v (file-name-directory localname)))
(unless (file-directory-p directory)
(tramp-error