Commit 92e9c5a4 authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 166016 checksetup gives torrent of cryptic errors if my_webservergroup is not found

2xr = timeless
parent 164042b8
...@@ -1121,7 +1121,8 @@ sub fixPerms { ...@@ -1121,7 +1121,8 @@ sub fixPerms {
if ($my_webservergroup) { if ($my_webservergroup) {
# Funny! getgrname returns the GID if fed with NAME ... # 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 # 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 # caller's uid. Maybe there should be a $bugzillauid, and call with that
# userid. # userid.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment