Bug 657656

Summary: SELinux is preventing /usr/sbin/httpd "execute" access on /home/sandbox/hooks/post-commit.
Product: [Fedora] Fedora Reporter: dk <dk1cc>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dkl, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:8d09163907f2983c02798015347d63ca62f8ca4410923f791ce84918ad3dce82
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-27 15:41:11 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:

Comment 1 dk 2010-11-27 01:26:52 UTC
Just trying to get a subversion post-commit to work using http at the svn url.  I can't seem to figure out the error -- sorry 

I tried doing:
restorecon -R /home/sandbox
chcon -R -t httpd_sys_content_rw_t /home/sandbox
and I am pretty sure that is what messed it up.  Or at least this is the new error.

Thanks for your help!

Comment 2 dk 2010-11-27 01:39:28 UTC
Would you also please edit this and take out my server name?  I thought I looked at everything in the original and it was not shown.  Now it shows up!

Comment 3 Daniel Walsh 2010-11-29 16:12:40 UTC
I made it private so others can not see it.  Not sure how I can edit it.

Comment 4 Daniel Walsh 2010-11-29 16:14:20 UTC
It looks like the /home/sandbox directory is still labeled user_home_t, if you had already executed the chcon command?

ls -lZ /home/sandbox/post-commit