Date: Tue, 01 Oct 2002 13:05:47 -0700 From: "Kevin Oberman" <oberman@es.net> To: Adam Weinberger <adam@vectors.cx> Cc: Lee Gold <goldtech@worldpost.com>, freebsd-questions@FreeBSD.ORG Subject: Re: unix locate cmd Message-ID: <20021001200547.1BD7C5D04@ptavv.es.net> In-Reply-To: Your message of "Tue, 01 Oct 2002 13:00:09 PDT." <20021001200009.GK77771@vectors.cx>
index | next in thread | previous in thread | raw e-mail
> Date: Tue, 1 Oct 2002 13:00:09 -0700
> From: Adam Weinberger <adam@vectors.cx>
> 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001200547.1BD7C5D04>
