Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2008 09:51:12 +0200
From:      Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: locate:database too small
Message-ID:  <20080711095112.5914e392@baby-jane-lamaiziere-net.local>
In-Reply-To: <4876D47A.4040708@datapipe.com>
References:  <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> <4876D47A.4040708@datapipe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Thu, 10 Jul 2008 22:33:14 -0500,
Paul Procacci <pprocacci@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080711095112.5914e392>