>>>>> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes:

Earnie> --- Akim Demaille <[EMAIL PROTECTED]> wrote: -8<-
>>  As for mkdir -m, it seems to me that
>> 
>> (umask 700 && mkdir /tmp/foo)

Grmph, 077.

>> 
>> is just fine.
>> 
Earnie> -8<-

Earnie> Why use /tmp at all?  Since autoconf is for portibility you
Earnie> can't really assume that /tmp exists.  Why not simply create a
Earnie> temporary directory in the current working directory?  IMO
Earnie> this would handle any security issues as well as any race
Earnie> issues.

Let it be for speed issues, I'm in favor of /tmp via TMPDIR.  This
should be portable enough, and testing it beforehand is OK.

Now, if experts consider this is a security hole...

Reply via email to