Hi

In order to use updatedb I need always to change ownership of /var/lib/mlocate
owner: nobody
group: root

The problem is that it seems tor reset on every boot.
I need to find a way to fix this

Code:
linux:~ # updatedb
updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'
If I do:
Code:
linux:/var/lib # chown root mlocate/
linux:/var/lib # updatedb
linux:/var/lib #
So then it works.
But as I mentioned it works only on the current session.



Any ideas?

Thanks