From 04fd648fa95c624466fd1ba626fa4ef02c089a72 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Tue, 7 May 2002 16:09:42 +0000 Subject: Bug 140355 - warn the user about not using a webserver group r=gerv, justdave --- checksetup.pl | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 79e5b294b..4f59e92e6 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -350,9 +350,13 @@ LocalVar('webservergroup', ' # This is the group your web server runs on. # If you have a windows box, ignore this setting. # If you do not wish for checksetup to adjust the permissions of anything, -# set this to "". +# 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 +# want. You should only have this set to "" if this is a testing installation +# and you cannot set this up any other way. YOU HAVE BEEN WARNED. # If you set this to anything besides "", you will need to run checksetup.pl -# as root. +# as root, or as a user who is a member of the specified group. $webservergroup = "nobody"; '); @@ -525,8 +529,9 @@ my @my_priorities = @{*{$main::{'priorities'}}{ARRAY}}; my @my_platforms = @{*{$main::{'platforms'}}{ARRAY}}; my @my_opsys = @{*{$main::{'opsys'}}{ARRAY}}; -if ($my_webservergroup && ($< != 0)) { # zach: if not root, yell at them, bug 87398 - print <