[CentOS] SELInux conflict with Postfixadmin

Robert Moskowitz

rgm at htt-consult.com
Tue Feb 21 16:30:52 UTC 2017


postfixadmin setup.php is claiming:

*Error: Smarty template compile directory templates_c is not writable.*
*Please make it writable.*
*If you are using SELinux or AppArmor, you might need to adjust their 
setup to allow write access.*


This goes away with 'setenforce 0', so it is an SELinux issue.  I have 
tried both:

restorecon -Rv /usr/share/postfixadmin

and

chcon -R -t httpd_sys_content_t /usr/share/postfixadmin

and they are not the problem.  Googling this message doe snot produce 
any SELinux advice.

Any ideas?

thanks




More information about the CentOS mailing list