Subject: Re: System-wide cache files for configure
To: Hernani Marques Madeira <hernani@tuners.ch>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 02/21/2004 23:07:04
On Saturday 21 February 2004 22:41, Hernani Marques Madeira wrote:
> On Sat, 21 Feb 2004 22:39:14 +0100
>
> "Julio M. Merino Vidal" <jmmv@menta.net> wrote:
> > I did not get this problem.  Though this may be due to a "fix" I
> > introduced in autoswc just some minutes ago...
>
> Okay.
>
> > Are you building as root?
>
> Yes.

So this could be the problem I fixed.  The cache file was stored with 644
permissions, which let any configure script (when running as root) update it
with what it has detected in that run.  I've changed the program to install
the file with 444 mode, so that no other script other than autoswc can change
it.

Cheers

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/