From owner-freebsd-questions Mon Apr 23 17: 6:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 46BF137B422 for ; Mon, 23 Apr 2001 17:06:53 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f3O06eM99452; Tue, 24 Apr 2001 12:06:40 +1200 (NZST) (envelope-from jonc) Date: Tue, 24 Apr 2001 12:06:40 +1200 From: Jonathan Chen To: hulk Cc: questions Subject: Re: problem??? in /etc/periodic/weekly/310.locate ??? Message-ID: <20010424120640.A98872@itouchnz.itouch> References: <3AE4BEBF.728C627A@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AE4BEBF.728C627A@home.com>; from hulk-baillie@home.com on Mon, Apr 23, 2001 at 07:46:08PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 23, 2001 at 07:46:08PM -0400, hulk wrote: > The guts of this script is: > echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3 > which means that "nobody" must be in the "wheel" group if my > understanding > is correct. I take it to read that the locate.updatedb process will run as the user `nobody'. This means that /var/db/locate.database must be owned by `nobody', and that any directories that aren't readable by `nobody' will be in locate.database. (ie: expected behaviour, since I *certainly* don't want everyone to know just what I've got in my private-directories). -- Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message