DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42175>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42175 Summary: suexec_enabled set incorrectly when httpd is run by a non-root user Product: Apache httpd-2 Version: 2.3-HEAD Platform: Other OS/Version: Linux Status: NEW Keywords: PatchAvailable Severity: normal Priority: P2 Component: mod_suexec AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] When running an apache that was configured with suexec support as a non-root user the variable suexec_enabled is incorrectly set. The test should really check access(R_OK|X_OK) as well as for root ownership and the set uid bit. This patch fixes the problem and allows me to run the standard Fedora install of apache as myself and use mod_fcgid which relies on the correct setting of suexec_enabled. --- httpd-2.2.4/os/unix/unixd.c~ 2006-07-11 20:38:44.000000000 -0700 +++ httpd-2.2.4/os/unix/unixd.c 2007-04-19 21:33:43.000000000 -0700 @@ -215,7 +215,7 @@ } if ((wrapper.protection & APR_USETID) && wrapper.user == 0) { - unixd_config.suexec_enabled = 1; + unixd_config.suexec_enabled = access(SUEXEC_BIN, R_OK|X_OK) == 0; } } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
