[6204] in bugtraq

home help back first fref pref prev next nref lref last post

updatedb stuff

daemon@ATHENA.MIT.EDU (Cain)
Tue Mar 3 00:10:25 1998

Date: 	Mon, 2 Mar 1998 19:55:27 -0500
Reply-To: Cain <cain@TASAM.COM>
From: Cain <cain@TASAM.COM>
To: BUGTRAQ@NETSPACE.ORG

>I should point out that it's actually /bin/sort that creates these
>files.  The Solaris /bin/sort does the same, last I checked, which
>probably means most Unix implementations of sort do the same.
>
>Whether other implementations of sort are smarter than GNU sort with
>symlinks, etc., I don't know.
>
>Kragen

I can verify that it works on FreeBSD 2.2.2.  I'm not sure if GNU's sort
is used here, but it will overwrite a file. A possible fix for this is
simple to not run updatedb as root, unfortunatly RedHat has it run as root
in the crontab :

02 1 * * * root run-parts /etc/cron.daily

This is the directory where updatedb is called from.

home help back first fref pref prev next nref lref last post