Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
05699b54
Commit
05699b54
authored
Sep 23, 2001
by
zach%zachlipton.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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.
parent
1a831cf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
checksetup.pl
checksetup.pl
+2
-2
No files found.
checksetup.pl
View file @
05699b54
...
...
@@ -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
<FilesMatch ^(.*\.pl|localconfig|processmail|syncshadowdb)$>
<FilesMatch ^(.*\.pl|localconfig|processmail|syncshadowdb
|runtests.sh
)$>
deny from all
</FilesMatch>
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment