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


On Mar 15, 2000, Earnie Boyd <earnie_boyd@yahoo.com> wrote:

> Why use /tmp at all?

Because those commands are run at install time, when the
program/library has to be relinked for installation.  In this case, we
can't assume the current directory, i.e., the build tree, is writable.

> Since autoconf is for portibility you can't really assume that /tmp
> exists.

If /tmp doesn't exist, pretty much everything breaks, unless TMPDIR is
set.  And it does use $TMPDIR, so we're fine.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me


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