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

Re: [gmail] Re: sponsor quake3 quake3-data packages



> That is a tag + security race condition between rm and mkdir.  You'll
> want to use mktemp -d instead.

fixed, tnx.

> I didn't look at your script closely; there may be other problems.
> Nothing should ever get written to /tmp/ except if the output filename
> is the result of a successful ($?==0) call to mktemp or tempfile.

But I can use /tmp/ to store the result of an archive (in a mktemp dir)
if I remove it afterwards?

I need to strip the makeself stuff from the installers and get a number
of pk3 files from them. This is why the mktemp is used now.

-- 
  greetz, marc
Aeryn, you are the one thing which has kept me from doing a kamikaze
in the transport.
	Crichton - The Locket
scorpius.homelinux.org 2.6.13.2 #1 Fri Sep 23 07:23:21 CEST 2005 GNU/Linux

Attachment: signature.asc
Description: Digital signature


Reply to: