From owner-freebsd-stable Mon Mar 5 7: 0:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id B710B37B718; Mon, 5 Mar 2001 07:00:31 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.2/8.11.2) id f25Ex4a76300; Mon, 5 Mar 2001 15:59:04 +0100 (CET) (envelope-from stijn) Date: Mon, 5 Mar 2001 15:59:04 +0100 From: Stijn Hoop To: Sheldon Hearn Cc: stable@freebsd.org, ru@freebsd.org Subject: Re: buildworld broken for non-root users Message-ID: <20010305155904.A75943@pcwin002.win.tue.nl> References: <2557.983802310@axl.fw.uunet.co.za> <3101.983803086@axl.fw.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3101.983803086@axl.fw.uunet.co.za>; from sheldonh@uunet.co.za on Mon, Mar 05, 2001 at 04:38:06PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 05, 2001 at 04:38:06PM +0200, Sheldon Hearn wrote: > On Mon, 05 Mar 2001 16:25:10 +0200, Sheldon Hearn wrote: > > For a while now, buildworld has been broken for non-root users: > > > > [...] > > ===> share/doc/papers/memfs > > indxbib -c /usr/src/share/doc/papers/memfs/../../../../contrib/groff/indxbib/eign -o ref.bib /usr/src/share/doc/papers/memfs/ref.bib > > vgrind -f < /usr/src/share/doc/papers/memfs/A.t > A.gt > > refer -n -e -l -s -p /usr/src/share/doc/papers/memfs/ref.bib /usr/src/share/doc/papers/memfs/0.t /usr/src/share/doc/papers/memfs/1.t A.gt > paper.t > > refer:/usr/src/share/doc/papers/memfs/1.t:46:fatal error: cannot create temporary file: Permission denied > > *** Error code 3 > > I have a feeling that this has been happening since groff was upgraded > in -STABLE. refer(1) is using /var/tmp as its temporary directory. > Non-priveleged users may not create files in this directory. Since when? I think I missed that change: [stijn@pcwin002] <~> ls -ld /var/tmp drwxrwxrwt 5 root wheel 512 Mar 5 15:41 /var/tmp ^^^ > I think the fix may be to set GROFF_TMPDIR to something sane for > buildworld. I think it is not insane, although /tmp might be a better choice. --Stijn -- "I used to think I was indecisive, but now I'm not so sure." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message