Bug 143814

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

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

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

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 15:03:59 EST
Added in selinux-policy-targeted-1.17.30-2.65.src.rpm
Comment 2 Frank Ch. Eigler 2005-03-27 10:52:33 EST
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.