Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Dec 2008 18:53:53 -0800
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Pegasus Mc Cleaft <ken@mthelicon.com>
Cc:        hackers@freebsd.org
Subject:   Re: ZFS & make install with exec=no in /tmp
Message-ID:  <4935F4C1.8060907@FreeBSD.org>
In-Reply-To: <200812030226.30448.ken@mthelicon.com>
References:  <200812030226.30448.ken@mthelicon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pegasus Mc Cleaft wrote:
> Hello hackers, 
> 
> 	I was wondering if there is a work around for this... 
> 
> 	In 8.0-current I have installed the new version of ZFS and upgraded the 
> filing systems to 13. I had a thought that I would make a zfs for /tmp and set 
> the exec to no (thinking that nothing should ever be executed in the tmp). All 
> seemed to work ok, however, I ran into a problem when I was installing a new 
> world. The script immediately bombed out with a permission denied message. 
> 
> 	I remembered seeing that type of message before when I was testing the no-
> exec bit in /tmp before, so I reset it to 'yes' and all is well and installed 
> fine.. 
> 
> 	Is there any way to specify what directory is used for building and executing 
> the install scripts? 

The standard UNIX way is to set the TMPDIR env variable.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4935F4C1.8060907>