The following reply was made to PR suexec/1905; it has been noted by GNATS.

From: Jason Riedy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc:  Subject: Re: suexec/1905: Allow modules to set user:group for execution.
Date: Mon, 02 Mar 1998 20:51:45 -0500

 [my apologies if this is a duplicate; my mailer and i are
 having a disagreement, and this doesn't appear in the
 archives]
 
 Whoops; I have a logic bug in that patch.  Here's an incremental
 fix to util_script.c:
 
 BEGIN patch
 --- util_script.c       1998/03/02 18:52:02     1.2
 +++ util_script.c       1998/03/03 01:33:07     1.3
 @@ -891,7 +891,7 @@
         }
        }
      }
 -    else {
 +
         if (shellcmd)
             execle(SHELL_PATH, SHELL_PATH, "-c", argv0, NULL, env);
  
 @@ -902,7 +902,7 @@
             execve(r->filename,
                    create_argv(r->pool, NULL, NULL, NULL, argv0, r->args),
                    env);
 -    }
 +
      return (pid);
  #endif
  }
 END patch
 
 Without this, it'll fall straight through without executing scripts
 that are to be run as the server.
 
 Jason

Reply via email to