From: zach%zachlipton.com <> Date: Sun, 23 Sep 2001 11:28:17 +0000 (+0000) Subject: Have checksetup.pl block web-access to runtests.sh (by .htaccess) and X-Git-Tag: bugzilla-2.14.1~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05699b549794791194a50ee855357a3bf56b4e57;p=thirdparty%2Fbugzilla.git Have checksetup.pl block web-access to runtests.sh (by .htaccess) and chmod +x runtests.sh so that it can be run with ./ r=bbaetz on irc, no 2nd review needed. No bug filed. --- diff --git a/checksetup.pl b/checksetup.pl index 63bf3e19cc..bfb0e877a7 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -590,7 +590,7 @@ if ($my_create_htaccess) { open HTACCESS, ">.htaccess"; print HTACCESS <<'END'; # don't allow people to retrieve non-cgi executable files or our private data - + deny from all END @@ -682,7 +682,7 @@ unlink "data/versioncache"; # These are the files which need to be marked executable my @executable_files = ('processmail', 'whineatnews.pl', 'collectstats.pl', - 'checksetup.pl', 'syncshadowdb', 'importxml.pl'); + 'checksetup.pl', 'syncshadowdb', 'importxml.pl', 'runtests.sh'); # tell me if a file is executable. All CGI files and those in @executable_files # are executable