summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Localconfig.pm
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2009-04-03 10:03:13 +0200
committerwurblzap%gmail.com <>2009-04-03 10:03:13 +0200
commitf9a7938b592a1d95fc718c2b86cf90506615b675 (patch)
treef9f1bf1140524cc5b7d13e5ffb6964fbf9d382d7 /Bugzilla/Install/Localconfig.pm
parentaec6c53cdb75228c974110478e57df62bed602bd (diff)
downloadbugzilla-f9a7938b592a1d95fc718c2b86cf90506615b675.tar.gz
bugzilla-f9a7938b592a1d95fc718c2b86cf90506615b675.tar.xz
Bug 123165 – Permissions setup option for bugzilla_user==webserver_user (suexec).
Patch by Marc Schumann <wurblzap@gmail.com>; r/a=mkanat
Diffstat (limited to 'Bugzilla/Install/Localconfig.pm')
-rw-r--r--Bugzilla/Install/Localconfig.pm21
1 files changed, 19 insertions, 2 deletions
diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm
index 5cd7755e8..971064722 100644
--- a/Bugzilla/Install/Localconfig.pm
+++ b/Bugzilla/Install/Localconfig.pm
@@ -67,9 +67,11 @@ EOT
{
name => 'webservergroup',
default => ON_WINDOWS ? '' : 'apache',
- desc => q{# This is the group your web server runs as.
+ desc => q{# Usually, this is the group your web server runs as.
# If you have a Windows box, ignore this setting.
-# If you do not have access to the group your web server runs under,
+# If you have use_suexec switched on below, this is the group Apache switches
+# to in order to run Bugzilla scripts.
+# If you do not have access to the group your scripts will run under,
# set this to "". If you do set this to "", then your Bugzilla installation
# will be _VERY_ insecure, because some files will be world readable/writable,
# and so anyone who can get local access to your machine can do whatever they
@@ -79,6 +81,21 @@ EOT
# as} . ROOT_USER . qq{, or as a user who is a member of the specified group.\n}
},
{
+ name => 'use_suexec',
+ default => 0,
+ desc => <<EOT
+# Set this if Bugzilla runs in an Apache SuexecUserGroup environment.
+# (If your web server runs control panel software (cPanel, Plesk or similar),
+# or if your Bugzilla is to run in a shared hosting environment, then you are
+# almost certainly in an Apache SuexecUserGroup environment.)
+# If you have a Windows box, ignore this setting.
+# If set to 0, Bugzilla will set file permissions as tightly as possible.
+# If set to 1, Bugzilla will set file permissions so that it may work in an
+# SuexecUserGroup environment. The difference is that static files (CSS,
+# JavaScript and so on) will receive world read permissions.
+EOT
+ },
+ {
name => 'db_driver',
default => 'mysql',
desc => <<EOT