httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] mod_fcgid upload permission changes.
Date Wed, 12 Dec 2012 16:58:35 GMT
On Wed, Dec 12, 2012 at 2:26 PM, Toni Moreno <> wrote:

> Hi Ben, Eric , I'm developing a centraliced IT-Administration platform.(
> )
> …
> I've tested your suggestion (  by adding a chmod  while still root)  but
> doen't work:
Hi Toni

This isn't what Eric suggested. Eric's reply to you:

> mod_fcgid doesn't do this for you. If you POST to a fastcgi, read the
> post body in whatever direct way your language provides.  Don't try to
> figure out what temporary file the server may have created in the
> background and read it as a file.

If you are using mod_fcgid, the uploaded file is made available to you as
stdin. The temporary file created in /tmp is *ONLY* for the use of
mod_fcgid itself - applications run using mod_fcgid should read the file
from stdin.

What you are trying would only work *BY CHANCE* if you were running under
the same user.



View raw message