From owner-freebsd-questions Tue Oct 1 21: 3:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AB9F37B401 for ; Tue, 1 Oct 2002 21:03:42 -0700 (PDT) Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26C8F43E77 for ; Tue, 1 Oct 2002 21:03:42 -0700 (PDT) (envelope-from goldtech@worldpost.com) Received: from 208-58-224-166.s166.tnt1.clmb.md.dialup.rcn.com ([208.58.224.166] helo=smtp.erols.com) by smtp02.mrf.mail.rcn.net with smtp (Exim 3.35 #1) id 17wajc-0003J3-00; Wed, 02 Oct 2002 00:03:41 -0400 X-Mailer: Ultrafunk Popcorn release 1.24 (06-Sep-2002) X-URL: http://www.ultrafunk.com/products/popcorn Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-Priority: 3 Date: Wed, 2 Oct 2002 00:04:13 -0500 From: Lee Gold To: oberman@es.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: unix locate cmd Reply-To: goldtech@worldpost.com Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >Subject: Re: unix locate cmd > From: "Kevin Oberman" ..snip.... > >Also, locate.updatedb runs as nobody so it will only index directories >and files with other read access. Oh. Maybe this is why even newbie questions are supposed to be posted here. So security issues for a new user (or any user) can be pointed out by those in the know. Ok. Would I repair the security of my locate db by running: /etc/periodic/weekly/310.locate right now? would it overwrite the existing db and not just "add" to it? Thank you. > >From the man page for locate: > The locate database was built by user ``nobody''. find(1) skips directo- > ries, which are not readable for user ``nobody'', group ``nobody'', or > world. E.g. if your HOME directory is not world-readable, all your files > are not in the database. > >R. Kevin Oberman, Network Engineer >Energy Sciences Network (ESnet) >Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) >E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message