Variable: savehist-file-modes

savehist-file-modes is a customizable variable defined in savehist.el.gz.

Value

384

Documentation

Default permissions of the history file.

This is decimal, not octal. The default is 384 (0600 in octal). Set to nil to use the default permissions that Emacs uses, typically mandated by umask. The default is a bit more restrictive to protect the user's privacy.

Source Code

;; Defined in /usr/src/emacs/lisp/savehist.el.gz
(defcustom savehist-file-modes #o600
  "Default permissions of the history file.
This is decimal, not octal.  The default is 384 (0600 in octal).
Set to nil to use the default permissions that Emacs uses, typically
mandated by umask.  The default is a bit more restrictive to protect
the user's privacy."
  :type '(choice (natnum :tag "Specify")
                 (const :tag "Use default" :value nil)))