----- Original Message ----- 
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Beau E. Cox" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 9:09 PM
Subject: Re: [mp2] ModPerl-Registry/t/bad_scritps.t returns 403 not 500


> Thank you Beau for a complete bug report.
>
> > a. ModPerl-Registry/t/bad_scritps.t returns 403 not 500.
>
> > bad_scripts....1..1
> > # Running under perl version 5.008 for linux
> > # Current time local: Thu Sep  4 16:19:34 2003
> > # Current time GMT:   Fri Sep  5 02:19:34 2003
> > # Using Test.pm version 1.24
> > # testing : the script hasn't declared its private $r
> > # Failed test 1 in bad_scripts.t at line 13
> > # expected: 500
> > # received: 403
> > not ok 1
>
> > c. Error log:
> [...]
>
> The error message is right there:
>
> > [Thu Sep 04 16:19:34 2003] [error] file permissions deny server
> >
execution/usr/local/src/modperl2/modperl-2.0/ModPerl-Registry/t/cgi-bin/r_in
> > herited.pl
>
> What perms do you get when you do:
>
> ls -l ModPerl-Registry/t/cgi-bin/r_inherited.pl
>
> it should be a+rx, e.g. on my machine it's:
> -rwxr-xr-x    1 stas     stas          248 Mar  7 19:58
>
> I think when I have added this file to cvs it didn't have the +x bit,
which I
> then have fixed directly in the cvs repository. I have just made a fresh
> checkout and the perms seem to be correct.
>
> May be you have an old checkout of this file, try to do:
>
> rm ModPerl-Registry/t/cgi-bin/r_inherited.pl
> cvs up ModPerl-Registry/t/cgi-bin/r_inherited.pl
> and try again.
>
Thanks Stas -

Sorry I missed the error. I did the 'rm' and re-cvs'ed -
flags correct and test OK. Next I rmeoved my entire
source tree and re-cvs'ed. Flags on r_inherit... OK.
Test OK.

There are three scripts w/o execute permission:

 not_executable.pl (I guess that's correct)
 lib.pl
 local-conf.pl

Aloha => Beau;
== please visit ==
<http://beaucox.com> => main site
<http://howtos.beaucox.com> => howtos
<http://PPM.beaucox.com> => perl PPMs
<http://CPAN.beaucox.com> => CPAN
== thank you ==




-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to