You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/05/03 19:52:10 UTC

DO NOT REPLY [Bug 8784] New: - suEXEC fails to su on file upload

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8784>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8784

suEXEC fails to su on file upload

           Summary: suEXEC fails to su on file upload
           Product: Apache httpd-1.3
           Version: 1.3.24
          Platform: Macintosh
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: webmaster@endikos.com


I recently upgraded my install of apache from 1.3.22 to 1.3.24.  While running 
1.3.22 I had compiled in suEXEC support and was using it with my virtual hosts 
to make permissions issues easier for me.  I have a php script that I use to 
update a web page, and part of that script is a file upload utility. Thanks to 
suexec, the files that I uploaded belonged to the user specified in the virtual 
conf.  However, that seems to no longer be true, the files I upload after 
upgrading apache to 1.3.24 no belong to the main apache user/group (web) 
instead of the user/group specified in the virtual conf. 

suEXEC is starting correctly, i get the following in the main error log on 
startup:

[Fri May  3 11:52:09 2002] [notice] Apache/1.3.24 (Unix) PHP/4.1.2 configured --
 resuming normal operations
[Fri May  3 11:52:09 2002] [notice] suEXEC mechanism enabled 
(wrapper: /usr/local/apachexp/bin/suexec)
[Fri May  3 11:52:09 2002] [notice] Accept mutex: fcntl (Default: fcntl)

For sanity's sake I recompiled apache without the modules I normally use 
(mod_bandwidth), same result. I've changed nothing else.

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