You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2001/06/16 15:58:48 UTC
cgi-bin scripts install patch
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 {} \;)
install-other:
Thanks
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: cgi-bin scripts install patch
Posted by Ben Laurie <be...@algroup.co.uk>.
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