httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: cgi-bin scripts install patch
Date Sat, 16 Jun 2001 14:13:15 GMT
Stas Bekman wrote:
> 
> Hi,
> 
> Perl/CGI test scripts installed into $root/cgi-bin/ don't get the x bits
> set. This patch provides a fix.
> 
> --- Makefile.in.orig    Sat Jun 16 21:46:23 2001
> +++ Makefile.in Sat Jun 16 21:48:46 2001
> @@ -73,7 +73,7 @@
>  install-cgi:
>         @echo Installing CGIs
>         @test -d $(cgidir) || $(MKINSTALLDIRS) $(cgidir)
> -       @(cd docs/cgi-examples && cp -rp * $(cgidir))
> +       @(cd docs/cgi-examples && chmod a+x * && cp -rp * $(cgidir))
>         @(cd $(cgidir) && find . -name "CVS" -print | xargs rm -rf {} \;)

ISTR this was deliberate - so people couldn't accidentally enable them.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

Mime
View raw message