emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/undo-fu-session d2a5ca1299 45/53: Use 600 for the mode ins


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu-session d2a5ca1299 45/53: Use 600 for the mode instead of 700
Date: Thu, 7 Jul 2022 12:05:30 -0400 (EDT)

branch: elpa/undo-fu-session
commit d2a5ca1299d35f88419e94bf941d6347ce140f2e
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Use 600 for the mode instead of 700
    
    There is no reason for the files to be executable.
---
 undo-fu-session.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/undo-fu-session.el b/undo-fu-session.el
index 85f6b118e8..55811158cc 100755
--- a/undo-fu-session.el
+++ b/undo-fu-session.el
@@ -674,7 +674,7 @@ Argument PENDING-LIST an `pending-undo-list' compatible 
list."
   (unless (file-directory-p undo-fu-session-directory)
     (make-directory undo-fu-session-directory t)
     ;; These files should only readable by the owner, see #2.
-    (set-file-modes undo-fu-session-directory #o700))
+    (set-file-modes undo-fu-session-directory #o600))
   (add-hook 'before-save-hook #'undo-fu-session-save-safe)
   (add-hook 'find-file-hook #'undo-fu-session-recover-safe))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]