[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: overwrite any file with updatedb

On Tue, 3 Mar 1998 10:39:05 +0100 (CET), Remco Blaakmeer wrote: 
>I don't have a Red Hat system at hands to test this, so let me tell you
>what it's like on a Debian pre-2.0 system, which I am currently using.
>On my system, this bug is present.
>Daily, cron runs "run-parts /etc/cron.daily" as root. In this directory is
>a file named "find" with these contents:

And as has been pointed out this is "A Bad Thing"(tm) however on a Red Hat 
system >= 4.2 this runs as nobody so it isn't an immediate issue.

>I think the only way to really fix this is to patch sort, so that it
>doesn't create files with easy-to-predict names. See "man 3 tmpfile" for a
>good hint on this.

Amazingly enough I also said that we would be doing this. Did you read my 
message at all?

                Bryan C. Andregg * <bandregg@redhat.com> * Red Hat Software

"Donnie were much more 'user-friendly'. May be you selective
       about friends:-)" -- Levente Farkas

"Hey, wait a minute, you clowns are on dope!"
	-- Owen Cheese in 'Shakes the Clown'

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: