[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What's the difference between updatedb and /etc/cron.daily/find?



On 23/11/06, Brad Sawatzky <brad+debian@swatter.net> wrote:
On Thu, 23 Nov 2006, michael wrote:

> On Thu, 23 Nov 2006 12:03:49 -0700, Chris Purves wrote
> > I am seeing different results from /etc/cron.daily/find and running
> > updatedb from the command line:
[ . . . ]
> > What are the differences between these and why does the daily cron job
> > find less files than running updatedb?  I have a standard install and
> > have not modified either /etc/updatedb.conf or /etc/cron.daily/find.  I
> > see the same behaviour on both stable and testing installs.
>
> I will take a stab at this and say that perhaps the cron.daily find
> command is run as the user "nobody" and so it only updates the locatedb
> for files that nobody can read.
> Please correct me if thats incorrect.

Mike is correct.  Try installing the 'slocate' package, it will probably
behave the way you want.


Thanks, Brad.  Installing slocate did the trick.

--
Take care, eh.
Chris



Reply to: