httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46716] New: TMPDIR not seen by processes under suexec
Date Mon, 16 Feb 2009 15:28:44 GMT

           Summary: TMPDIR not seen by processes under suexec
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_suexec

I'm running vhosts with environment set for easier work.
Some programs (sendmail, CGIs) need temporary files and they use TMPDIR
environment variable (quite default in UN*X world) to decide where to create

I provide different TMPDIR for each vhost. However, when running under suexec,
processes do not see this variable set, even if I patched suexec to include
this variable. Suexec does not see the TMPDIR itself.
when I removed suexec, the variables were available to all executed processes
(I got error message: Warning: SuexecUserGroup directive requires SUEXEC
so I think the problem lies somewhere else.

IMHO, setting TMPDIR to any value should not cause any troubles, especially not
when programs are running under suexec.

Please try (help me) to investigate this issue so the TMPDIR wouldn't be
cleared off suexec's and environment. Also, please, if you won't find any
security issue, add the variable to list of variables that are preserved by

(asking in apache-users didn't result in any comment/response, please don't
close this with advise to start there)

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message