On 06/09/2018 08:07 AM, mike wrote:
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
su nobody then run updatedb worked -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org