On Mon, Sep 19, 2016 at 04:28:15PM -0400, Jon LaBadie wrote: > On Mon, Sep 19, 2016 at 10:04:21PM +0200, Patrick Dupre wrote: > > The point is that I am not sure that mlocate (or updatedb) runs properly > > because locate does not find my new files ! > > > > How can I be sure that mlocate runs properly ? > > .. > > As to locate not finding new files, two possibilities > even if things are running properly. > > The db is only automatically updated daily. So if you > create a file and try to locate it before the auto-update, > it will not find it. > > The other possibility is a permissions situation. mlocate > will not show you the names of files you are not allowed > to access. So if you create new files as a different > user, or under a permission protected directory, mlocate > will not show them to you. > Thought of a 3rd possibility, updatedb consults a config file, /etc/updatedb.conf. It specifies lots of things that updatedb is to skip. Certain directories, filename extensions, and filesystem types. -- Jon H. LaBadie jonfu@xxxxxxxxxx _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx