Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145347 - net-www/mod_security - no-suexec use flag
Summary: net-www/mod_security - no-suexec use flag
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 06:10 UTC by Stefan Huber
Modified: 2007-09-08 08:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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