This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: libtool /tmp security
- To: earnie_boyd at yahoo dot com
- Subject: Re: libtool /tmp security
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 15 Mar 2000 11:28:53 -0300
- Cc: Akim Demaille <akim at epita dot fr>, "Gary V. Vaughan" <gary at oranda dot demon dot co dot uk>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, bug-libtool at gnu dot org, autoconf at gnu dot org, automake at gnu dot org
- References: <20000315140826.28263.qmail@web109.yahoomail.com>
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