This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libtool /tmp security


--- Akim Demaille <akim@epita.fr> wrote:
-8<-
> 
> As for mkdir -m, it seems to me that
> 
> (umask 700 && mkdir /tmp/foo)
> 
> is just fine.
> 
-8<-

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

Earnie.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]