From owner-freebsd-hackers Mon Apr 1 09:52:55 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA10280 for hackers-outgoing; Mon, 1 Apr 1996 09:52:55 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA10256 for ; Mon, 1 Apr 1996 09:52:33 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA29625 for ; Mon, 1 Apr 1996 19:51:10 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id TAA11466 for freebsd-hackers@freebsd.org; Mon, 1 Apr 1996 19:51:10 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id TAA06045 for freebsd-hackers@freebsd.org; Mon, 1 Apr 1996 19:16:01 +0200 (MET DST) From: J Wunsch Message-Id: <199604011716.TAA06045@uriah.heep.sax.de> Subject: Re: locate To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Mon, 1 Apr 1996 19:16:00 +0200 (MET DST) In-Reply-To: <199604010815.KAA21390@ghpc6.ihf.rwth-aachen.de> from "Thomas Gellekum" at Apr 1, 96 10:15:10 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)