Bug 143814

Summary: suexec broken with 2.58 update
Product: [Fedora] Fedora Reporter: Frank Ch. Eigler <fche>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.25.4-10.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-15 15:59:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.