From owner-freebsd-questions Sat Apr 24 8:43:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id C909C150F5 for ; Sat, 24 Apr 1999 08:43:27 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #1) id 10b4Sn-000NIG-00; Sat, 24 Apr 1999 16:35:29 +0100 (envelope-from ben@scientia.demon.co.uk) Date: Sat, 24 Apr 1999 16:35:29 +0100 From: Ben Smithurst To: Ho Seng Yip Cc: FreeBSD Questions Subject: Re: Weekly Output Query Message-ID: <19990424163529.A89489@scientia.demon.co.uk> References: <00c101be8de9$92244720$42aa15a5@oasis> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <00c101be8de9$92244720$42aa15a5@oasis> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ho Seng Yip wrote: > I got my weekly e-mail report from root in my inbox and looking at the mail, > I found the following lines: > > Rebuilding locate database: > find: .: Permission denied > 0 > > Can anyone explain to me what is happening here ? Looks like whatever directory locate.updatedb starts in isn't readable by the "nobody" user (which is practice means it needs to be world readable in most cases). I'm not sure what directory this is, it seems to be ~root here, you'll have to make that world readable/executable. Hopefully `chmod a+rx ~root' should fix it. (I thought the HOME= setting in root's crontab would override this, but it doesn't seem to have any effect. You may like to check whatever directory that points to as well.) -- Ben Smithurst ben@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message