Commit 86a9be47 authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp-fish.el (tramp-fish-do-copy-or-rename-file-directly):

Use `tramp-default-file-modes'.
parent b86c1cd8
......@@ -917,7 +917,7 @@ PRESERVE-UID-GID is completely ignored."
(when (and keep-date (functionp 'set-file-times))
(set-file-times newname (nth 5 (file-attributes filename))))
;; Set the mode.
(set-file-modes newname (file-modes filename)))
(set-file-modes newname (tramp-default-file-modes filename)))
(defun tramp-fish-get-file-entries (vec localname list)
"Read entries returned by FISH server.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment