From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 13 06:28:39 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCB0916A403 for ; Fri, 13 Apr 2007 06:28:39 +0000 (UTC) (envelope-from yurtesen-dated-1177308115.e64473@ispro.net) Received: from smtp.ispro.net.tr (smtp.ispro.net.tr [62.244.220.178]) by mx1.freebsd.org (Postfix) with SMTP id 087F413C480 for ; Fri, 13 Apr 2007 06:28:36 +0000 (UTC) (envelope-from yurtesen-dated-1177308115.e64473@ispro.net) Received: (qmail 39029 invoked by uid 89); 13 Apr 2007 06:01:55 -0000 Received: from [84.250.2.137] (dsl-tkubrasgw1-fe02fa00-137.dhcp.inet.fi [84.250.2.137]) by localhost.my.domain (tmda-ofmipd) with ESMTP; Fri, 13 Apr 2007 09:01:48 +0300 (EEST) Message-ID: <461F1CCB.7070504@ispro.net> Date: Fri, 13 Apr 2007 09:01:47 +0300 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit From: Evren Yurtesen X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) X-Primary-Address: yurtesen@ispro.net.tr X-Mailman-Approved-At: Fri, 13 Apr 2007 11:29:55 +0000 Subject: any plans to enhance 'locate'? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 06:28:39 -0000 Hi, I am wondering if there are any plans to enhance the locate command. As you know, Linux slocate is storing file owner/perm info into database and it is able to show all files when the user is root compared to FreeBSD locate where you can only search files which can be listed by nobody user. I realized that this comes very handy when I am looking for certain files if I can see the files owned by root 'only' when I am root. Is there a reason why there is no port for slocate or the FreeBSD locate to not to be enhanced this way? There seems to be a port for this for Mac OS X: http://slocate.darwinports.com/dports/sysutils/slocate/ There are people trying to do workarounds: http://freebsd.munk.me.uk/archives/207-Let-root-see-all-files-with-locate.html Thanks, Evren