最近把實驗室的web server重灌
在裝phpbb的attach mod時
忽然一些include的程式出現permission denied的狀況
即使path沒錯,rwx permission全開仍然沒變
最後才知道是因為SELinux被啟動的關係
結果google到要兩行指令,下完就沒事了
chcon -R -t httpd_sys_content_t /var/www/html
chcon system_u:object_r:httpd_sys_content_t /var/www/html
不過SELinux在幹嘛還是不確定
有空再看好了~