locate:database too small

Patrick Lamaizière patfbsd at davenulle.org
Fri Jul 11 07:51:16 UTC 2008


Le Thu, 10 Jul 2008 22:33:14 -0500,
Paul Procacci <pprocacci at datapipe.com> a écrit :

> Type exactly that within a shell (as root):
> 
> /usr/libexec/locate.updatedb
> 
> or alternatively
> 
> /etc/periodic/weekly/310.locate

This is not the same thing, /etc/periodic/weekly/310.locate calls
locate.updatedb with the user nobody. 

You should avoid to run locate.updatedb as root.

Regards.


More information about the freebsd-questions mailing list