Date: Mon, 5 Mar 2001 15:59:04 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: stable@freebsd.org, ru@freebsd.org Subject: Re: buildworld broken for non-root users Message-ID: <20010305155904.A75943@pcwin002.win.tue.nl> In-Reply-To: <3101.983803086@axl.fw.uunet.co.za>; from sheldonh@uunet.co.za on Mon, Mar 05, 2001 at 04:38:06PM %2B0200 References: <2557.983802310@axl.fw.uunet.co.za> <3101.983803086@axl.fw.uunet.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010305155904.A75943>
