Tag Info

New answers tagged

0

I think that Derek give the right answer. Anyway I also got that working with: sudo mkdir /var/wwww/html/site/pdf sudo chmod 755 /var/wwww/html/site/pdf #try to change SElinux folder tipe sudo chcon -t public_content_rw_t /var/www/html/site/pdf #i want that persistent sudo semanage fcontext -a -t #add this inside fcontext file public_content_rw_t ...


1

Found this in my notes, from when I ran into this same thing: Set SELinux boolean to allow Apache to access CIFS shares: # setsebool -P httpd_use_cifs on


0

I was finally was able to narrow down and solve the problem. It was a combination of two issues: A Magento site on the server was disabled in the vhosts file. But the Magento cron job was still running, failing, and causing all the AVC errors. Removing the orphaned cron job stopped the AVC errors. As Manuel Faux suggested in the comments, however, the ...


0

seems like this is a known bug as reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1204307


9

Note the . at the end of the permissions (drwxrwxrwx.): that means there's an SELinux context involved. You need to get that right for your user to be able to list the contents of the directory. To see the contexts for your directory, run sudo ls -alZ (the -Z option shows the SELinux contexts required). The CentOS wiki has a good page on SELinux. You'll ...



Top 50 recent answers are included