From 86a9be47c8dbab1a003982729202fc7fbd866ed2 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 5 Apr 2009 18:07:41 +0000 Subject: [PATCH] * net/tramp-fish.el (tramp-fish-do-copy-or-rename-file-directly): Use `tramp-default-file-modes'. --- lisp/net/tramp-fish.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp-fish.el b/lisp/net/tramp-fish.el index f3dfcc8f547..2377432bdea 100644 --- a/lisp/net/tramp-fish.el +++ b/lisp/net/tramp-fish.el @@ -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. -- 2.39.5