I also have the root folder "/var/www/html/nbseven.info" setup for a samba share. So I can edit the files from a windows machine.
I'm having problems with the selinux. httpd was hosting my index.html file with no issue. The problem began when setting the permissions samba.
for the samba share, I passed :
Code: Select all
chcon -t samba_share_t nbseven.info/
I determined selinux was my problem by toggling "setenforce" and being able to view the proper index.html page.
Attempting to fix, allowing both samba and httpd access to the folder:
Code: Select all
chcon -t public_content_rw_t /var/www
setsebool -P allow_smbd_anon_write 1
setsebool -P allow_httpd_anon_write 1
Can anyone see where I'm off?
Thank you for reading.