From owner-freebsd-questions Sun Oct 17 7:28:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sanson.reyes.somos.net (freyes.static.inch.com [207.240.212.43]) by hub.freebsd.org (Postfix) with ESMTP id D02A514E21 for ; Sun, 17 Oct 1999 07:28:48 -0700 (PDT) (envelope-from fran@reyes.somos.net) Received: from tomasa (tomasa.reyes.somos.net [10.0.0.11]) by sanson.reyes.somos.net (8.9.3/8.9.3) with SMTP id KAA23720; Sun, 17 Oct 1999 10:26:14 -0400 (EDT) (envelope-from fran@reyes.somos.net) Message-Id: <199910171426.KAA23720@sanson.reyes.somos.net> From: "Francisco Reyes" To: "FreeBSD questions" Date: Sun, 17 Oct 1999 10:28:51 -0400 Reply-To: "Francisco Reyes" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 98 (4.10.1998) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Permission denied when rebuilding locate db Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have moved creating of the locate database to /etc/periodic/daily. For a month or so it worked fine but lately the locate db has been zero bytes. When I look at the daily run output I see: Rebuilding locate database: find: .: Permission denied If I run the script by hand as root it works fine. /etc/crontab has the daily jobs run as root so I don't understand how it could work if run from the shell manually, but not from the daily run. find: .: Permission denied <== Is that saying that it had the permission denied from the current, ".", directory? What would be the "." directory? Neither /usr/sbin/periodic or /etc/periodic/daily/315.locate (the name I renamed it to) seem to change the directory. Any ideas? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message