當登入openwebmail (http://127.0.0.1/webmail)
出現Couldn't write /var/log/openwebmail.log! (Permission denied)
表示權限被拒絕啦!
執行以下:
touch /var/log/openwebmail.log |
說明
touch /var/log/openwebmail.log #產生日誌文件
chcon -u system_u /var/log/openwebmail.log #修改文件權限
chcon -t httpd_sys_script_rw_t /var/log/openwebmail.log #改使用權限
全站熱搜