[Bug 281471] Re: Unable to use 'locate' to locate files mlocate.db permission denied
bhaskar
281471 at bugs.launchpad.net
Tue May 17 15:56:31 UTC 2016
Same issue on a 15.10 upgraded to 16.04:
e0101450 at bhaskark:/Distrib/Ubuntu$ locate abc.def
locate: can not open `/var/lib/mlocate/mlocate.db': Permission denied
e0101450 at bhaskark:/Distrib/Ubuntu$ ls -l /var/lib/mlocate/mlocate.db
-rw-r----- 1 root mlocate 25974609 May 16 09:21 /var/lib/mlocate/mlocate.db
e0101450 at bhaskark:/Distrib/Ubuntu$ ls -ld /var/lib/mlocate/
drwxr-xr-x 2 root root 24 May 16 09:21 /var/lib/mlocate/
e0101450 at bhaskark:/Distrib/Ubuntu$
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mlocate in Ubuntu.
https://bugs.launchpad.net/bugs/281471
Title:
Unable to use 'locate' to locate files mlocate.db permission denied
Status in Easy Peasy:
New
Status in mlocate package in Ubuntu:
Confirmed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-eee/+bug/281471/+subscriptions
More information about the foundations-bugs
mailing list