Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 1996 10:15:10 +0200 (MET DST)
From:      Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
To:        mpp@freefall.freebsd.org (Mike Pritchard)
Cc:        freebsd-hackers@freefall.freebsd.org
Subject:   Re: locate
Message-ID:  <199604010815.KAA21390@ghpc6.ihf.rwth-aachen.de>
In-Reply-To: <199604010600.WAA01868@freefall.freebsd.org> from Mike Pritchard at "Mar 31, 96 10:00:10 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Pritchard wrote:
> What do people think of the idea of changing locate & its database
> update script to keep a list of ALL files on the system, and
> not just those that can been seen by the world.

No, please. If the owner doesn't want to expose his files to the
world, locate should respect this.

> Another option is to keep two databases, one of all the public
> files, as it does now.  And a complete database that is
> accessed with some new option on locate that would verify that
> the file is accessible to the user before printing it out.

I'd prefer a new option to locate which gives the name of (an)
alternate database(s), so you could run locate for yourself. This
could also be used to locate files on NFS-mounted filesystems.

tg



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