Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145347

Summary: net-www/mod_security - no-suexec use flag
Product: Gentoo Linux Reporter: Stefan Huber <stefan.huber>
Component: New packagesAssignee: Luca Longinotti (RETIRED) <chtekk>
Status: RESOLVED CANTFIX    
Severity: trivial CC: apache-bugs, dju, stefan.huber
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Huber 2006-08-28 06:10:16 UTC
when using an external program to check uploaded files with mod_security and suexec is activated, the program will be called as the proper user which don't have reading permission to the temporary file.

Solution:
when compiling with '-D DISABLE_SUEXEC' this problem will be circumvented. (either the user apache runs the command or the file has other rights. didn't check that)

Proposal:
an additional useflag for mod_security or the ebuild checks if 'no-suexec' is set for apache and extends the ebuild variables APXS2_ARGS & APXS1_ARGS with '-D DISABLE_SUEXEC'
Comment 1 Simon Arlott 2007-02-28 22:38:59 UTC
(er, *not* to have one too)
Comment 2 Simon Arlott 2007-02-28 22:40:31 UTC
Ignore my previous comment, bugzilla did something stupid.
Comment 3 Luca Longinotti (RETIRED) gentoo-dev 2007-05-17 15:03:53 UTC
CCing apache-bugs too.
Best regards, CHTEKK.
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2007-09-08 08:13:18 UTC
there is no such flag DISABLE_SUEXEC in mod_security-2.1.2