On 06/09/2018 08:15 AM, Patrick Shanahan wrote:
* mike <furryllama@comcast.net> [06-09-18 08:09]:
On 06/09/2018 07:20 AM, Peter Suetterlin wrote:
Hi,
I'm getting this after running updatedb -
can not open a temporary file for '/var/lib/mlocate/mlocate.db'
I've had to remove mlocate then reinstall it and the first updatedb runs fine,
then I get the above error message for the second run.....is there a better fix
for this? Hmm, likely a permission issue. It normally runs as nobody (unless you change
mike wrote: that). Maybe the initial run when installing it is run as root? Then the DB is owned by root and cannot be changed. Or did you call updatedb yourself? always run as root
show: ls -la /var/lib/mlocate drwxr-xr-x 1 nobody root 20 Jun 9 00:15 . drwxr-xr-x 1 root root 1006 Jun 8 23:30 .. -rw-r--r-- 1 nobody nobody 16874246 Jun 9 00:15 mlocate.db
drwxr-xr-x 2 nobody root 4096 Jun 8 17:15 . drwxr-xr-x 62 root root 4096 Jun 5 17:44 .. -rw-r--r-- 1 nobody nobody 8042832 Jun 8 17:15 mlocate.db -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org