Hide Forgot
Description of problem: SELinux is preventing /usr/sbin/httpd from 'read' accesses on the file /home/v8incole/public_html/.htaccess. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /home/v8incole/public_html/.htaccess default label should be httpd_user_htaccess_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/v8incole/public_html/.htaccess ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that httpd should be allowed read access on the .htaccess file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep /usr/sbin/httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:httpd_t:s0 Target Context unconfined_u:object_r:home_root_t:s0 Target Objects /home/v8incole/public_html/.htaccess [ file ] Source /usr/sbin/httpd Source Path /usr/sbin/httpd Port <Unknown> Host (removed) Source RPM Packages httpd-2.4.6-2.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-74.14.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.10-200.fc19.x86_64 #1 SMP Mon Dec 2 20:28:03 UTC 2013 x86_64 x86_64 Alert Count 14 First Seen 2013-12-16 10:29:20 EST Last Seen 2013-12-16 11:07:16 EST Local ID 079aae45-13c1-4092-8d5b-385648fe0d22 Raw Audit Messages type=AVC msg=audit(1387210036.599:513): avc: denied { read } for pid=2255 comm="/usr/sbin/httpd" name=".htaccess" dev="dm-2" ino=5636142 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:home_root_t:s0 tclass=file type=SYSCALL msg=audit(1387210036.599:513): arch=x86_64 syscall=open success=no exit=EACCES a0=7f9e83838f70 a1=80000 a2=1b6 a3=38762f656d6f682f items=0 ppid=2254 pid=2255 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 ses=4294967295 tty=(none) comm=/usr/sbin/httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null) Hash: /usr/sbin/httpd,httpd_t,home_root_t,file,read Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.10-200.fc19.x86_64 type: libreport
restorecon -R -v /home Should fix your problems, as the alert told you. You have a mislabeled homedir.