LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2004, 08:10 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
updatedb gives me errors


When I do updatedb i get the following:

root@1[ircstats]# /usr/bin/find: /etc/chatscripts: Permission denied
/usr/bin/find: /etc/ppp: Permission denied
/usr/bin/find: /etc/ssl/private: Permission denied
/usr/bin/find: /root/.gconf: Permission denied
/usr/bin/find: /root/.gconfd: Permission denied
/usr/bin/find: /root/.gnome: Permission denied
/usr/bin/find: /root/.gnome2: Permission denied
/usr/bin/find: /root/.gnome2_private: Permission denied
/usr/bin/find: /root/.kde/share/apps/kconf_update: Permission denied
/usr/bin/find: /root/.kde/share/apps/nsplugins: Permission denied
/usr/bin/find: /root/.kde/share/apps/kdesktop: Permission denied
/usr/bin/find: /root/.kde/share/apps/kalarmd: Permission denied
/usr/bin/find: /root/.kde/share/apps/smb4k: Permission denied
/usr/bin/find: /root/.kde/share/apps/kfile: Permission denied
/usr/bin/find: /root/.kde/share/apps/RecentDocuments: Permission denied
/usr/bin/find: /root/.kde/share/config/colors: Permission denied
/usr/bin/find: /root/.kde/share/servicetypes: Permission denied
/usr/bin/find: /root/.kde/Autostart: Permission denied
/usr/bin/find: /root/.thumbnails: Permission denied
/usr/bin/find: /root/.mozilla: Permission denied
/usr/bin/find: /root/.ssh: Permission denied
/usr/bin/find: /var/lib/arpwatch: Permission denied
/usr/bin/find: /var/lib/cups/certs: Permission denied
/usr/bin/find: /var/lib/postgres/dumpall: Permission denied
/usr/bin/find: /var/lib/php4: Permission denied
/usr/bin/find: /var/log/samba: Permission denied
/usr/bin/find: /var/run/sudo: Permission denied
/usr/bin/find: /var/run/usb: Permission denied
/usr/bin/find: /var/spool/cron/crontabs: Permission denied
/usr/bin/find: /var/spool/cups: Permission denied
updatedb: new database would be empty
rm: cannot remove `/var/cache/locate/locatedb.n': Permission denied
 
Old 10-29-2004, 01:19 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Looks like you're running updatedb as user, and bash is telling you that there are directories you don't have permission to look into to add the contents to the locatedb.
Try su to root, then run updatedb.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between 'updatedb' and 'updatedb&' ?? DreameR-X Linux - Newbie 4 12-18-2004 04:36 PM
updatedb mikedeatworld Linux - Software 21 09-16-2004 10:59 PM
updatedb? nexx_au Fedora 2 04-06-2004 10:17 PM
updatedb for Win32 ghight Linux - Software 6 03-31-2004 02:23 PM
updatedb pezplaya Fedora 2 01-05-2004 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration