Re: Missing files in locatedb

2007-09-27 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Victor Munoz wrote: > It worked. All missing files are there now. > > At first, this was a mystery, but now I understand why. updatedb is > not run as root, but as 'nobody', as set in /etc/updatedb.conf, so > the sequence > > $ . /etc/updatedb.conf;

Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 02:53:18PM -0500, Mumia W.. wrote: > > Check /etc/updatedb.conf and the LOCALUSER variable. LOCALUSER is set to > 'nobody' by default, and 'nobody' has no ability to view directories > with -rwx-- permissions. > That was the problem, indeed. Thanks, Victor -- To

Re: Missing files in locatedb

2007-09-27 Thread Andrew Sackville-West
On Thu, Sep 27, 2007 at 03:31:23PM -0400, Victor Munoz wrote: > On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote: > > > > what are the permissions on the parent directories? that might be more > > relevant. > > > > drwxr-xr-x in all cases. > are these directories nfs mount

Re: Missing files in locatedb

2007-09-27 Thread Mumia W..
On 09/27/2007 02:21 PM, Victor Munoz wrote: On Thu, Sep 27, 2007 at 01:43:14PM -0500, Ron Johnson wrote: 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 d

Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 03:31:23PM -0400, Victor Munoz wrote: > On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote: > > > > what are the permissions on the parent directories? that might be more > > relevant. > > > > drwxr-xr-x in all cases. > Wrong. One had permissions drwx

Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 08:23:14PM +0200, Johannes Wiedersich wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Victor Munoz wrote: > > Hello. Today I found a very strange problem. Some files seem to be > > missing from locatedb database. > > [snip] > > > I don't understand. Does any

Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote: > > what are the permissions on the parent directories? that might be more > relevant. > drwxr-xr-x in all cases. Victor -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [

Re: Missing files in locatedb

2007-09-27 Thread Andrew Sackville-West
On Thu, Sep 27, 2007 at 03:21:32PM -0400, Victor Munoz wrote: > On Thu, Sep 27, 2007 at 01:43:14PM -0500, Ron Johnson wrote: > > > > > > Some files in the original problematic directory have permissions > > > -rw--- (does updatedb respect this), but the file I was looking > > > for in the firs

Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 01:43:14PM -0500, Ron Johnson wrote: > > > > 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

Re: Missing files in locatedb

2007-09-27 Thread Ron Johnson
-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 > ' didn't find the file I was loo

Re: Missing files in locatedb

2007-09-27 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Victor Munoz wrote: > Hello. Today I found a very strange problem. Some files seem to be > missing from locatedb database. [snip] > I don't understand. Does any? Try running 'updatedb' as root manually and check if this helps. Johannes -BEGIN