udpatedb - update a database for mlocate
updatedb [OPTION]...
updatedb is usually run daily by cron(8) to update the default database.
PATH must be an absolute path name, but it may contain symbolic links; locate(1) will output the entries using the exact spelling of PATH.
If FLAG is 0 or no, locate(1) outputs the database entries even if the user running locate(1) could not have read the directory necessary to find out the file described by the database entry.
If FLAG is 1 or yes (the default), locate(1) checks the permissions of parent directories of each entry before reporting it to the invoking user. To make the file existence truly hidden from other users, the database group is set to slocate and the database permissions prohibit reading the database by users using other means than locate(1), which is sgid slocate.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |