Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2002 17:04:56 -0500
From:      mpd <mpd6334@cs.rit.edu>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        questions@freebsd.org
Subject:   Re: Locate command
Message-ID:  <20020204170456.A97655@rochester.rr.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOEEJGCGAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Mon, Feb 04, 2002 at 04:50:13PM -0500
References:  <LPBBIGIAAKKEOEJOLEGOEEJGCGAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020204170456.A97655>