Variable: locate-update-path
locate-update-path is a customizable variable defined in locate.el.gz.
Value
"/"
Documentation
The default directory from where locate-update-command is called.
Usually, root permissions are required to run that command. This
can be achieved by setting this option to "/su::" or "/sudo::"
(if you have the appropriate authority). If your current user
permissions are sufficient to run the command, you can set this
option to "/".
This variable was added, or its default value changed, in Emacs 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/locate.el.gz
(defcustom locate-update-path "/"
"The default directory from where `locate-update-command' is called.
Usually, root permissions are required to run that command. This
can be achieved by setting this option to \"/su::\" or \"/sudo::\"
\(if you have the appropriate authority). If your current user
permissions are sufficient to run the command, you can set this
option to \"/\"."
:type 'string
:version "22.1")