From owner-freebsd-questions Mon Feb 4 14: 5:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id 28DC237B419 for ; Mon, 4 Feb 2002 14:05:03 -0800 (PST) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id 7AC9F901A4E; Mon, 4 Feb 2002 17:04:56 -0500 (EST) Date: Mon, 4 Feb 2002 17:04:56 -0500 From: mpd To: Joe & Fhe Barbish Cc: questions@freebsd.org Subject: Re: Locate command Message-ID: <20020204170456.A97655@rochester.rr.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from barbish@a1poweruser.com on Mon, Feb 04, 2002 at 04:50:13PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 04, 2002 at 04:50:13PM -0500, Joe & Fhe Barbish wrote: > The man page says the locate command will display the > path to any public file after building the locate database. > Is there a way to expand the locate database build to > include all files, just not the public ones? > In /etc/locate.rc: SEARCHPATHS="/" PRUNEPATHS="" Note this will make private files in home directories seeable in locate output by any user. mike -- ___________________________________________________________ "MAY I GROW 3000 PLANTS??? - Little Girl from "3005 PLANTS" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message