From owner-freebsd-questions Tue Oct 1 13: 6:30 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 9F8B337B401 for ; Tue, 1 Oct 2002 13:06:29 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D5043E65 for ; Tue, 1 Oct 2002 13:06:29 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id MUA74016; Tue, 01 Oct 2002 13:06:25 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 1BD7C5D04; Tue, 1 Oct 2002 13:05:47 -0700 (PDT) To: Adam Weinberger Cc: Lee Gold , freebsd-questions@FreeBSD.ORG Subject: Re: unix locate cmd In-reply-to: Your message of "Tue, 01 Oct 2002 13:00:09 PDT." <20021001200009.GK77771@vectors.cx> Date: Tue, 01 Oct 2002 13:05:47 -0700 From: "Kevin Oberman" Message-Id: <20021001200547.1BD7C5D04@ptavv.es.net> 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 > Date: Tue, 1 Oct 2002 13:00:09 -0700 > From: Adam Weinberger > Sender: owner-freebsd-questions@FreeBSD.ORG > > k. first of all, do you actually HAVE any copies of an .xinitrc file? > the system-wide one has no dot. > > if you DO have one, it's typically in ~/.xinitrc. is your /home > partition not a ufs partition? locacte.updatedb will only index ufs > partitions by default. Also, locate.updatedb runs as nobody so it will only index directories and files with other read access. 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