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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
ab61cd7a
Commit
ab61cd7a
authored
Aug 08, 2006
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 347706: Params can't be updated when webservergroup is empty
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
parent
d12c2833
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Filesystem.pm
Bugzilla/Install/Filesystem.pm
+5
-2
No files found.
Bugzilla/Install/Filesystem.pm
View file @
ab61cd7a
...
@@ -82,6 +82,9 @@ sub FILESYSTEM {
...
@@ -82,6 +82,9 @@ sub FILESYSTEM {
my
$owner_dir_readable
=
0700
;
my
$owner_dir_readable
=
0700
;
# Writeable by the web server.
# Writeable by the web server.
my
$ws_dir_writeable
=
$ws_group
?
0770
:
01777
;
my
$ws_dir_writeable
=
$ws_group
?
0770
:
01777
;
# The webserver can overwrite files owned by other users,
# in this directory.
my
$ws_dir_full_control
=
$ws_group
?
0770
:
0777
;
# Note: When being processed by checksetup, these have their permissions
# Note: When being processed by checksetup, these have their permissions
# set in this order: %all_dirs, %recurse_dirs, %all_files.
# set in this order: %all_dirs, %recurse_dirs, %all_files.
...
@@ -126,7 +129,7 @@ sub FILESYSTEM {
...
@@ -126,7 +129,7 @@ sub FILESYSTEM {
my
%
recurse_dirs
=
(
my
%
recurse_dirs
=
(
# Writeable directories
# Writeable directories
"$datadir/template"
=>
{
files
=>
$ws_readable
,
"$datadir/template"
=>
{
files
=>
$ws_readable
,
dirs
=>
$ws_dir_
writeable
},
dirs
=>
$ws_dir_
full_control
},
$attachdir
=>
{
files
=>
$ws_writeable
,
$attachdir
=>
{
files
=>
$ws_writeable
,
dirs
=>
$ws_dir_writeable
},
dirs
=>
$ws_dir_writeable
},
$webdotdir
=>
{
files
=>
$ws_writeable
,
$webdotdir
=>
{
files
=>
$ws_writeable
,
...
@@ -170,7 +173,7 @@ sub FILESYSTEM {
...
@@ -170,7 +173,7 @@ sub FILESYSTEM {
# The name of each directory that we should actually *create*,
# The name of each directory that we should actually *create*,
# pointing at its default permissions.
# pointing at its default permissions.
my
%
create_dirs
=
(
my
%
create_dirs
=
(
$datadir
=>
$ws_dir_
writeable
,
$datadir
=>
$ws_dir_
full_control
,
"$datadir/mimedump-tmp"
=>
$ws_dir_writeable
,
"$datadir/mimedump-tmp"
=>
$ws_dir_writeable
,
"$datadir/mining"
=>
$ws_dir_readable
,
"$datadir/mining"
=>
$ws_dir_readable
,
"$datadir/duplicates"
=>
$ws_dir_readable
,
"$datadir/duplicates"
=>
$ws_dir_readable
,
...
...
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