httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18156] - Suexec runs as the VirtualHost user instead of the owner of the UserDir
Date Thu, 29 Apr 2004 15:41:22 GMT
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=18156>.
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=18156

Suexec runs as the VirtualHost user instead of the owner of the UserDir





------- Additional Comments From slive@apache.org  2004-04-29 15:41 -------
Here's a wild guess:

Index: mod_userdir.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_userdir.c,v
retrieving revision 1.52.2.4
diff -u -d -b -r1.52.2.4 mod_userdir.c
--- mod_userdir.c       9 Feb 2004 20:53:19 -0000       1.52.2.4
+++ mod_userdir.c       29 Apr 2004 15:38:30 -0000
@@ -350,7 +350,7 @@
 
     ap_hook_translate_name(translate_userdir,aszPre,aszSucc,APR_HOOK_MIDDLE);
 #ifdef HAVE_UNIX_SUEXEC
-    ap_hook_get_suexec_identity(get_suexec_id_doer,NULL,NULL,APR_HOOK_MIDDLE);
+    ap_hook_get_suexec_identity(get_suexec_id_doer,NULL,NULL,APR_HOOK_FIRST);
 #endif
 }
 
If that isn't it, you'll have to wait for another developer to look at it, since
I don't have the resources to do suexec testing.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message