Mailinglist Archive: opensuse-support (159 mails)

< Previous Next >
[opensuse-support] Re: [opensuse-factory] mlocate
On 09/06/18 15:15, Patrick Shanahan wrote on factory :
* mike <furryllama@xxxxxxxxxxx> [06-09-18 08:09]:

On 06/09/2018 07:20 AM, Peter Suetterlin wrote:
mike 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
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


- Thank you Patrick


{ i have been told bu board-member to ask TW probs

 on opensuse-support }


 with TW i have adjusted chown & chmod as you suggest , but continue to get :


# updatedb
updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'


......

 - what to try next please?


thanks

 regards

....


--
To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups