https://issues.apache.org/bugzilla/show_bug.cgi?id=46716

           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
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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
them.

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
wrapper.)
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
suexec.

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


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to