From owner-freebsd-questions Tue Jun 1 14:17:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from chippie.cgu.nl (chippie.cgu.nl [145.101.220.7]) by hub.freebsd.org (Postfix) with ESMTP id 90B7914CB8 for ; Tue, 1 Jun 1999 14:17:10 -0700 (PDT) (envelope-from psd@cgu.nl) Received: from localhost (psd@localhost) by chippie.cgu.nl (8.9.3/8.9.3/psd) with SMTP id XAA21305; Tue, 1 Jun 1999 23:17:04 +0200 (CEST) Date: Tue, 1 Jun 1999 23:17:03 +0200 (CEST) From: Paul Dekkers X-Sender: psd@chippie.cgu Reply-To: Paul Dekkers To: Christopher Michaels Cc: "FreeBSD Mailing List (E-mail)" Subject: RE: Problems with locate database... In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB4401105923@site2s1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: | > 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: 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