Daniel J McDonald <dan.mcdonald <at> austinenergy.com> writes:

> 
> On Tue, 2007-06-12 at 16:07 -0400, Rosenbaum, Larry M. wrote:
> > > From: Duncan Hill [mailto:spamassassin <at> cricalix.net]
> > > 
> > > On Tue, June 12, 2007 13:33, Justin Mason wrote:
> > > > Daniel J McDonald writes:
> > > >> So, you can't build the RPM as root.
> > > >>
> > > >>
> 
> > Very interesting, but I ran into this problem on a Solaris system and I
> > wasn't trying to build an RPM.  I was just trying to build SA from
> > source with the usual
> > 
> > perl Makefile.PL
> > make
> > make test (this step gave errors when run as root)
> > 
> > Does the same logic apply when RPMs are not involved?
> 
> Yes, unless your umask is 666. When it detects the root user, it tries
> to change to "nobody".  since Nobody can't write in the t/log/*
> directories, the test fails.
> 

Pardon my ignorance, but for those of us who have always installed SA as root,
this new behavior in 3.2.1 appears to be a bit of a bug (and I'm just using the
SA distribution the same way Larry is using - no RPM is being built).

Is the workaround y'all are suggesting that the SA make be done as a non-root
user, but the install be done as root in my situation?

In other words,

As non-root user:

    perl Makefile.PL
    make
    make test

As root:

    make install

Thanks,

Jake




Reply via email to