Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 1999 23:17:03 +0200 (CEST)
From:      Paul Dekkers <psd@cgu.nl>
To:        Christopher Michaels <ChrisMic@clientlogic.com>
Cc:        "FreeBSD Mailing List (E-mail)" <questions@FreeBSD.org>
Subject:   RE: Problems with locate database...
Message-ID:  <Pine.BSF.3.96.990601231554.21297A-100000@chippie.cgu>
In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB4401105923@site2s1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Jun 1999, Christopher Michaels wrote:

| Check the /etc/crontab entry.  Is the weekly periodic script being run as
| root?

It is. However in /etc/periodic/weekly/310.locate the locate-db command is
run as nobody. It doesn't work when run in crontab, but works when run
from commandline as root. Strange, isn't it? Same enviroment I assume.

Paul

| > My crontab-mail keeps giving me the following results of the weekly
| > locatedb-update action:
| > 
| > "Rebuilding locate database:
| > find: .: Permission denied"
| > 
| > What can I do against that? I think I just once ran locate.updatedb
| > manually, and since then it doesn't work, however I can run
| > /etc/periodic/weekly/310.locate manually as root.
| > 
| > Paul
| > 
| > --
| > Paul Dekkers 
| > E-Mail: <P.Dekkers@cgu.nl>
| > To err is human, to moo bovine
| > 
| > 
| > 
| > 
| > To Unsubscribe: send mail to majordomo@FreeBSD.org
| > with "unsubscribe freebsd-questions" in the body of the message
| 

Paul

--
Paul Dekkers 
E-Mail: <P.Dekkers@cgu.nl>
To err is human, to moo bovine



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990601231554.21297A-100000>