From: bugreport%peshkin.net <> Date: Sun, 1 Sep 2002 17:29:14 +0000 (+0000) Subject: Bug 166016 checksetup gives torrent of cryptic errors if my_webservergroup is not... X-Git-Tag: bugzilla-2.17.1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e9c5a49c32c377f21fe9bdafb61b10de3876d7;p=thirdparty%2Fbugzilla.git Bug 166016 checksetup gives torrent of cryptic errors if my_webservergroup is not found 2xr = timeless --- diff --git a/checksetup.pl b/checksetup.pl index c5a00b99f8..c8cdf7a60a 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1121,7 +1121,8 @@ sub fixPerms { if ($my_webservergroup) { # Funny! getgrname returns the GID if fed with NAME ... - my $webservergid = getgrnam($my_webservergroup); + my $webservergid = getgrnam($my_webservergroup) + or die("no such group: $my_webservergroup"); # chown needs to be called with a valid uid, not 0. $< returns the # caller's uid. Maybe there should be a $bugzillauid, and call with that # userid.