-@@ -558,6 +589,7 @@
- * Error out if the target name/group is different from
- * the name/group of the cwd or the program.
- */
+@@ -555,20 +586,24 @@ int main(int argc, char *argv[])
+ }
+
+ /*
+- * Error out if the target name/group is different from
+- * the name/group of the cwd or the program.
+- */
+- if ((uid != dir_info.st_uid) ||
+- (gid != dir_info.st_gid) ||
+- (uid != prg_info.st_uid) ||
+- (gid != prg_info.st_gid)) {
+- log_err("target uid/gid (%lu/%lu) mismatch "
+- "with directory (%lu/%lu) or program (%lu/%lu)\n",
+- (unsigned long)uid, (unsigned long)gid,
+- (unsigned long)dir_info.st_uid, (unsigned long)dir_info.st_gid,
+- (unsigned long)prg_info.st_uid, (unsigned long)prg_info.st_gid);
+- exit(120);
++ * If not called as suexec.fcgi error out if the target
++ * name/group is different from the name/group of the cwd
++ * or the program.
++ */