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
eaa93668
Commit
eaa93668
authored
Aug 14, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 162438 - fix permissions/tests for Bugzilla/ directory
r=joel x2
parent
f9e05e27
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
checksetup.pl
checksetup.pl
+13
-0
Files.pm
t/Support/Files.pm
+2
-1
No files found.
checksetup.pl
View file @
eaa93668
...
...
@@ -773,6 +773,17 @@ END
close
HTACCESS
;
chmod
$fileperm
,
".htaccess"
;
}
if
(
!-
e
"Bugzilla/.htaccess"
)
{
print
"Creating Bugzilla/.htaccess...\n"
;
open
HTACCESS
,
">Bugzilla/.htaccess"
;
print
HTACCESS
<<'END';
# nothing in this directory is retrievable unless overriden by an .htaccess
# in a subdirectory
deny from all
END
close
HTACCESS
;
chmod
$fileperm
,
"Bugzilla/.htaccess"
;
}
if
(
!-
e
"data/.htaccess"
)
{
print
"Creating data/.htaccess...\n"
;
open
HTACCESS
,
">data/.htaccess"
;
...
...
@@ -1102,6 +1113,7 @@ if ($my_webservergroup) {
fixPerms
(
'data/webdot/.htaccess'
,
$<
,
$webservergid
,
027
);
fixPerms
(
'data/params'
,
$<
,
$webservergid
,
017
);
fixPerms
(
'*'
,
$<
,
$webservergid
,
027
);
fixPerms
(
'Bugzilla'
,
$<
,
$webservergid
,
027
,
1
);
fixPerms
(
'template'
,
$<
,
$webservergid
,
027
,
1
);
fixPerms
(
'css'
,
$<
,
$webservergid
,
027
,
1
);
chmod
0644
,
'globals.pl'
;
...
...
@@ -1126,6 +1138,7 @@ if ($my_webservergroup) {
fixPerms
(
'data/webdot/.htaccess'
,
$<
,
$gid
,
022
);
fixPerms
(
'data/params'
,
$<
,
$gid
,
011
);
fixPerms
(
'*'
,
$<
,
$gid
,
022
);
fixPerms
(
'Bugzilla'
,
$<
,
$gid
,
022
,
1
);
fixPerms
(
'template'
,
$<
,
$gid
,
022
,
1
);
fixPerms
(
'css'
,
$<
,
$gid
,
022
,
1
);
...
...
t/Support/Files.pm
View file @
eaa93668
...
...
@@ -37,8 +37,9 @@ package Support::Files;
@additional_files
=
(
'syncshadowdb'
,
'processmail'
);
@exclude_files
=
(
'importxml.pl'
);
# XXX - this file should be rewritten to use File::Find or similar
$file
=
'*'
;
@files
=
glob
(
$file
);
@files
=
(
glob
(
$file
),
glob
(
'Bugzilla/*.pm'
)
);
sub
isTestingFile
{
my
(
$file
)
=
@_
;
...
...
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