title: SELinux Permission Denied Python3.3 CentOS 6.5
body: <p>I am having a tough time with this one.  I am trying to get my GIT repo over Apache and I am running into errors that seem to be related to SELinux.  I am new to SELinux.  I need help deciphering the output in the audit log.  I seen the suggestion to set SELinux to permissive mode to capture the errors and then run it though a command to build a SELinux profile for this operation.  I need assistance in constructing the command from the output.  My Apache Server is calling a python CGI script.  Here is the audit log output:</p>
  
  <pre><code>    type=AVC msg=audit(1424300724.345:67): avc:  denied  { execute } for  pid=2306 comm="python3.3" path=2F746D702F666669316F59336968202864656C6574656429 dev=dm-0 ino=266176 scontext=unconfined_u:system_r:httpd_sys_script_t:s0 tcontext=unconfined_u:object_r:httpd_sys_rw_content_t:s0 tclass=file
  type=SYSCALL msg=audit(1424300724.345:67): arch=c000003e syscall=9 success=yes exit=140223631540224 a0=0 a1=1000 a2=5 a3=1 items=0 ppid=2303 pid=2306 auid=0 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=1 comm="python3.3" exe="/usr/local/bin/python3.3" subj=unconfined_u:system_r:httpd_sys_script_t:s0 key=(null)
  </code></pre>