changeset 102853:3c2dc56032af

* dired-aux.el (dired-copy-file-recursive): Set mode to "700" if `file-modes' returns nil.
author Michael Albinus <michael.albinus@gmx.de>
date Sun, 05 Apr 2009 18:12:44 +0000
parents da220e3be804
children 326cfd14d174
files lisp/dired-aux.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Sun Apr 05 18:07:41 2009 +0000
+++ b/lisp/dired-aux.el	Sun Apr 05 18:12:44 2009 +0000
@@ -1210,7 +1210,7 @@
 	     (or (eq recursive 'always)
 		 (yes-or-no-p (format "Recursive copies of %s? " from))))
 	;; This is a directory.
-	(let ((mode (file-modes from))
+	(let ((mode (or (file-modes from) #o700))
 	      (files
 	       (condition-case err
 		   (directory-files from nil dired-re-no-dot)