Bug 143814 - suexec broken with 2.58 update
Summary: suexec broken with 2.58 update
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-28 17:21 UTC by Frank Ch. Eigler
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 1.25.4-10.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-15 15:59:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Ch. Eigler 2004-12-28 17:21:54 UTC
Description of problem:
suexec cgi scripts cannot access the home directory, regardless of
httpd_enable_homedirs.

Version-Release number of selected component (if applicable):
1.17.30-2.58

The following clause should probably go into the apache_macros.te file:

if (httpd_enable_homedirs) {
allow httpd_suexec_t user_home_dir_t:dir { getattr search };
}

Comment 1 Daniel Walsh 2005-01-03 20:03:59 UTC
Added in selinux-policy-targeted-1.17.30-2.65.src.rpm


Comment 2 Frank Ch. Eigler 2005-03-27 15:52:33 UTC
As of version selinux-policy-targeted-sources-1.17.30-2.90
the user_home_dir_t part is still not included in the apache_macros.te file.
The script_rw_t / script_ro_t tags don't seem to include enough.

FWIW, the suexec-invoked program in question is a perl script named index.cgi,
using lots of r/w state right in the public_html directory.  This directory
is entirely tagged with httpd_user_content_t.



Note You need to log in before you can comment on or make changes to this bug.