Re: problems with locate

1998-11-21 Thread Kevin Dalley
There is a second possibility. The file you are looking for is in a directory which is not readable and executable by world. updatedb is run by nobody, which doesn't have any real permissions. Running updatedb as root will allow everyone's files to be listed, even if the directory are not world

problems with locate

1998-11-20 Thread Bruno Boettcher
hello, just noticed a thing (i looked into the FAQ but didn't find it) there's a strange thing about locate, or the updatedb it never expires, meaning that the database is correctly build every day, it even seems to have a reasonable size (approx 10Mo), but when invocing locate on any file i

Re: problems with locate

1998-11-20 Thread Jim Foltz
Bruno, The obvious answer is that the file you are searching for was created after the latest updatedb run. You are right in that the updatedb is run once per day from a cron job. However, your computer needs to be on at the time it is scheduled for that to happen. Unless you use anachron, which