From 99f91c7995f510e1ec2ae36224b935379bdc5f84 Mon Sep 17 00:00:00 2001 From: "zach%zachlipton.com" <> Date: Tue, 5 Feb 2002 00:38:33 +0000 Subject: Fix for bug 87398: checksetup.pl should warn if not run as root. Patch adds a warning if the user has webservergroup set but does not run checksetup.pl as root. r1=kiko, r2=justdave --- checksetup.pl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 71e501ffb..93166218d 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -771,6 +771,20 @@ sub fixPerms { } if ($my_webservergroup) { + unless ($< == 0) { # zach: if not root, yell at them, bug 87398 + print <