/var/lib/mlocate/mlocate.db perms

jd1008 jd1008 at gmail.com
Sun May 3 23:14:12 UTC 2015


As unprivileged user, I run locate <filename>
and get
$ locate file_3.mp3
locate: can not open `/var/lib/mlocate/mlocate.db': Permission denied

I always end up running sudo to change the perms so unpriv'ed
users can run locate.

What command should I run so the mlocate.db file is readable
by unpriv'ed users?



More information about the users mailing list