Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 1996 19:16:00 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: locate
Message-ID:  <199604011716.TAA06045@uriah.heep.sax.de>
In-Reply-To: <199604010815.KAA21390@ghpc6.ihf.rwth-aachen.de> from "Thomas Gellekum" at Apr 1, 96 10:15:10 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Thomas Gellekum wrote:
> 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.

That's out of question.  However, locate could collect the information
about all files, but verify the permissions at runtime.  (This will
make the database larger however.)

As i've explained before, this would require locate to run setuid,
and the databases to be mode 0600.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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