Re: OT : find problems or updatedb ?
On Tue, Apr 24, 2001 at 11:38:42AM +0200, Petr Danek wrote:
> Hi list,
>
> i have some problem with find . For example when i try
>
> find / -name foo
>
> the command finishes immediately and didnt give any results altough file foo exists somewhere in directory tree. I use binutils 2.9.5.0.37-1 with kernel 2.2.18-1
>
> file /var/lib/locate/locatedb has only 203b altough 59 % of 2GB partition is used
>
> ? any pointers in this case ?
<guess>
are you running updatedb as root?
permissions may be screwing something up.
on the other hand, hmm, most users should be able to see SOME
subdirectories of the root tree... hmm...
have you done a
fsck
to be sure your file system isn't borked?
</guess>
<recommend>
apt-get install slocate
</recommend>
(more secure)
--
DEBIAN NEWBIE TIP:
How can you generate RANDOM EMAIL SIGNATURES? Many email clients
have this feature -- for mutt, simply declare in your ~/.muttrc
file something like
send-hook debian- "set signature='~/.signature-debian |'"
(note the quoted value ends with a 'pipe|' symbol) Then whenever
you send email to any debian-* address, it'll append the output
from your script, instead of appending a static file.
...from will@serensoft.com
http://newbieDoc.sourceForge.net/
Reply to: