From owner-freebsd-questions Thu Apr 18 21:47:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 1E31E37B405; Thu, 18 Apr 2002 21:47:09 -0700 (PDT) Received: from hades.hell.gr (patr530-a032.otenet.gr [212.205.215.32]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g3J4l5rc009965; Fri, 19 Apr 2002 07:47:06 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g3J4knPw001308; Fri, 19 Apr 2002 07:47:02 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g3J4MhV4001093; Fri, 19 Apr 2002 07:22:43 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 19 Apr 2002 07:22:43 +0300 From: Giorgos Keramidas To: Thomas Cannon Cc: jedgar@FreeBSD.ORG, Kris Kennaway , freebsd-questions@FreeBSD.ORG, security-officer@FreeBSD.ORG Subject: Re: I think this could be better Message-ID: <20020419042242.GF629@hades.hell.gr> References: <20020418165048.A22497@xor.obsecurity.org> <20020418172834.X9440-100000@stereophonic.noops.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020418172834.X9440-100000@stereophonic.noops.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-04-18 17:31, Thomas Cannon wrote: > On Thu, 18 Apr 2002, Kris Kennaway wrote: > > > > It's not a world-writable directory unless your umask is fubar. > > It probably should be using "mktemp -d" though. > > /tmp is not world writable? > > Oh, I understand. Sure it creates a non-world-writable directory. > But it does so in a world-writable directory. So all I have to do is > make the /tmp/install.$$ directory first. The umask doesn't even > come into play. Guys, guys. Relax. In -CURRENT, mktemp is used: $ grep INSTALLTMP /usr/src/Makefile.inc1 | head -1 INSTALLTMP!= /usr/bin/mktemp -d -u -t install Now, we need to ask jedgar who committed this to MFC it :) (Cc: already done.) Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message