[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Missing files in locatedb



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/27/07 12:38, Victor Munoz wrote:
> Hello. Today I found a very strange problem. Some files seem to be
> missing from locatedb database. 
> 
> It all started with one particular file I wanted to find. But 'locate
> <word>' didn't find the file I was looking for. I went to the
> directory it was supposed to be, and there it was!
> 
> I have a cron job to updatedb every night. In fact:
> 
> $ ls -l /var/cache/locate/
> total 7020
> -rw-r--r-- 1 root root 7173582 2007-09-27 06:26 locatedb
> 
> So it seems to be in order. The file I wanted was created in August. So?
> 
> In fact, none the files in this directory is in the database!
> 
> In case you're curious, the directory is named
> 
> ~/textos/fisica/departamento_fisica/departamento
> 
> In /etc/updatedb.conf, there is the following line:
> 
> PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs /media"
> 
> So I don't think updatedb should omit this directory. In fact, none of
> the files in any subdirectory of ~/textos/fisica/departamento_fisica/
> is indexed!
> 
> I've made some random search of files in other directories, and they
> seem indexed. In fact files in ~/textos itself are indexed. 
> 
> Some files in the original problematic directory have permissions
> -rw------- (does updatedb respect this), but the file I was looking
> for in the first place has read permissions for all.
> 
> I don't understand. Does any?

When were these files created?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG+/nCS9HxQb37XmcRAqp0AKCjY7VDWXovc/lUiWeiTKFRp2iJvwCePucv
wleP/20aTOv5HzhdVisMDpw=
=TOSw
-----END PGP SIGNATURE-----



Reply to: