]> git.eshelyaron.com Git - emacs.git/commitdiff
eshell: Prefer octal number for file modes
authorStefan Kangas <stefan@marxist.se>
Sun, 12 Dec 2021 08:12:14 +0000 (09:12 +0100)
committerStefan Kangas <stefan@marxist.se>
Sun, 12 Dec 2021 08:12:14 +0000 (09:12 +0100)
* lisp/eshell/esh-util.el (eshell-private-file-modes)
(eshell-private-directory-modes): Prefer octal number for file modes.

lisp/eshell/esh-util.el

index 72de6b13e2e7328ff2473408f2b9182e736000e1..0eef45e0efbe40773340c15b289fcdd5b70c2897 100644 (file)
@@ -63,11 +63,11 @@ has no effect."
 Setting this to nil is offered as an aid to debugging only."
   :type 'boolean)
 
-(defcustom eshell-private-file-modes 384 ; umask 177
+(defcustom eshell-private-file-modes #o600 ; umask 177
   "The file-modes value to use for creating \"private\" files."
   :type 'integer)
 
-(defcustom eshell-private-directory-modes 448 ; umask 077
+(defcustom eshell-private-directory-modes #o700 ; umask 077
   "The file-modes value to use for creating \"private\" directories."
   :type 'integer)