From: Stefan Kangas Date: Sun, 12 Dec 2021 08:12:14 +0000 (+0100) Subject: eshell: Prefer octal number for file modes X-Git-Tag: emacs-29.0.90~3597^2~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8faada1f5acdd3139c3aaf606176c38389031d55;p=emacs.git eshell: Prefer octal number for file modes * lisp/eshell/esh-util.el (eshell-private-file-modes) (eshell-private-directory-modes): Prefer octal number for file modes. --- diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el index 72de6b13e2e..0eef45e0efb 100644 --- a/lisp/eshell/esh-util.el +++ b/lisp/eshell/esh-util.el @@ -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)