aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2009-04-05 18:07:41 +0000
committerMichael Albinus2009-04-05 18:07:41 +0000
commit86a9be47c8dbab1a003982729202fc7fbd866ed2 (patch)
tree63d25b33e4b3f7a7a2345ecefa673848d22e1c5a
parentb86c1cd8d355d766f567350a874d137e74ecc765 (diff)
downloademacs-86a9be47c8dbab1a003982729202fc7fbd866ed2.tar.gz
emacs-86a9be47c8dbab1a003982729202fc7fbd866ed2.zip
* net/tramp-fish.el (tramp-fish-do-copy-or-rename-file-directly):
Use `tramp-default-file-modes'.
-rw-r--r--lisp/net/tramp-fish.el2
1 files changed, 1 insertions, 1 deletions
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."
917 (when (and keep-date (functionp 'set-file-times)) 917 (when (and keep-date (functionp 'set-file-times))
918 (set-file-times newname (nth 5 (file-attributes filename)))) 918 (set-file-times newname (nth 5 (file-attributes filename))))
919 ;; Set the mode. 919 ;; Set the mode.
920 (set-file-modes newname (file-modes filename))) 920 (set-file-modes newname (tramp-default-file-modes filename)))
921 921
922(defun tramp-fish-get-file-entries (vec localname list) 922(defun tramp-fish-get-file-entries (vec localname list)
923 "Read entries returned by FISH server. 923 "Read entries returned by FISH server.