On Thu, 2003-05-08 at 06:47, Stas Bekman wrote:
> Bruce Schuck wrote:
> > "Philippe M. Chiasson" wrote:
> >
> >
> >>On Wed, 2003-05-07 at 05:52, Bruce Schuck wrote:
> >>
> >>>I have been having a heck of a time attemping to install mod_perl
> >>>2 on a Solaris 8 (Ultra 10) workstation.
> >>
> >
> >>You are running the tests as root and it seems to be causing a few
> >>simple permission problems (Can't exec "/backup/apache/bin/httpd":
> >>Permission denied)
> >
> >
> >>Feels to me like /backup/apache/bin/httpd isn't 0755.
> >
> >
> > This was correct.
> >
> >
> >>Double-check that and you can also try to build & test mod_perl as a
> >>non-root user and "make install" as root as the last step if you want a
> >>system-wide install.
> >
> >
> > This worked! Thanks a bunch!
>
> We should still make it possible to 'make test' as root. Notice that it chowns
> the files and dirs to whatever the user it's running under (in
> Apache::TestRun::adjust_t_perms). If you can try again and see why do you get
> the reports in t/logs/error_log that would be helpful to avoid future bug
> reports like this.
The chown worked fine, just didn't handle the fact that the httpd
binary, /backup/apache/bin/httpd in this case, was not executable by
'nobody'.
Guess adjust_t_perms might also chmod httpd 755, or copy it under t/ and
make it 755...
> Thanks.
>
>
> __________________________________________________________________
> Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/ mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org http://ticketmaster.com
>
>
|