← Back to team overview

ubuntu-eee-coders team mailing list archive

[Bug 281471] Re: Unable to use 'locate' to locate files mlocate.db permission denied

 

I have the same problem as the ones linked above along with the one reported. Using ubuntu eee 8.04
I don't know very precisely when the problem first arouse for ping and crontab, but locate was working with no problems up until I changed the hostname for my eee pc 901 which bugged sudo ( https://bugs.launchpad.net/ubuntu/+bug/203593 ).  

Once I fixed sudo by going into the 127.0.1.1 entry in
SYSTEM>ADMINISTRATION>NETWORK>(HOST TAB)) and changing it to the new
hostname sudo started working again. But locate didn't and I even had to
run updatedb to get sudo locate to return something at all...

Or that's how I perceived it anyway.

-- 
Unable to use 'locate' to locate files mlocate.db permission denied
https://bugs.launchpad.net/bugs/281471
You received this bug notification because you are a member of Ubuntu
Eee Coders, which is subscribed to Ubuntu Eee.

Status in Ubuntu Eee: New

Bug description:
I'm using Hardy on a 1000h. When I'm trying to locate a file using locate I receive
$ locate gdm
locate: can not open `/var/lib/mlocate/mlocate.db': Permission denied

I listed /var/lib/locate and mlocate.db seems to be owned by root and group mlocate
$ ls -al /var/lib/mlocate
total 3204
drwxr-xr-x  2 root root       4096 2008-10-11 00:33 .
drwxr-xr-x 51 root root       4096 2008-10-06 21:01 ..
-rw-r-----  1 root mlocate 3266135 2008-10-11 00:33 mlocate.db



References