From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 3 02:53:53 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC03B1065672 for ; Wed, 3 Dec 2008 02:53:53 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from dhcp-172-29-11-40.kir.corp.google.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE5C8FC13; Wed, 3 Dec 2008 02:53:53 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4935F4C1.8060907@FreeBSD.org> Date: Tue, 02 Dec 2008 18:53:53 -0800 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Pegasus Mc Cleaft References: <200812030226.30448.ken@mthelicon.com> In-Reply-To: <200812030226.30448.ken@mthelicon.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: ZFS & make install with exec=no in /tmp X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 02:53:53 -0000 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