When I try to update the database I get:
What am I doing wrong?Code:$ updatedb updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'
Thanks
EDIT: sudo....
sorry found the answer. silly me.
When I try to update the database I get:
What am I doing wrong?Code:$ updatedb updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'
Thanks
EDIT: sudo....
sorry found the answer. silly me.
Do NOT run any command resembling sudo rm -rf /. It is the 10-character code of death
haha, glad to see that you had resolve your own problem.
Unique Beautiful Unlimited New Trust Unix
I am total newbie ! I have the same problem. How did you solved it ?
Can you please elaborate ?
Last edited by drs305; September 8th, 2008 at 04:14 AM.
Back to Xorg...
Retired.
hellow, I do as you guys advice above, but still met problems as follows:
" user is not in the sudoers file. This incident will be reported."
hope skilled guys help me , thank you very much!
You should normally not have to run updatedb as it is run daily via the system cronjob in /etc/cron.daily/mlocate.
This is because your user doesn't have permissions to write to /var/lib/mlocate/ and it tries to create a temporary file there when you run 'updatedb'
I did the following:First command changes the owner of the directory to my user, 'adyhasch" ,and the 'mlocate' groupCode:adyhasch@T60:~/Desktop$ sudo chown adyhasch:mlocate /var/lib/mlocate adyhasch@T60:~/Desktop$ sudo chmod 775 /var/lib/mlocate/
Second, I enable write permissions for the group 'mlocate'
Bookmarks