[6196] in bugtraq
Re: overwrite any file with updatedb
daemon@ATHENA.MIT.EDU (Kragen)
Mon Mar 2 17:07:38 1998
Date: Mon, 2 Mar 1998 14:56:25 -0500
Reply-To: Kragen <kragen@POBOX.COM>
From: Kragen <kragen@POBOX.COM>
X-To: Cain <cain@TASAM.COM>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To: <Pine.BSF.3.96.980301224352.10578B-100000@tasam.com>
On Sun, 1 Mar 1998, Cain wrote:
> On many linux systems(Redhat imparticularly) updatedb is run nightly
> around 1:00. When it sorts the files that find gets, it creats a few files
> in /tmp called sort0<pid>000{1,2,etc}. . . .
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