chcon -R -t httpd_sys_content_t /srv/www/testsite.local/public_html

## Or some apps might need httpd_sys_rw_content_t ##
chcon -R -t httpd_sys_rw_content_t /srv/www/testsite.local/public_html

 

권한 오류 발생 시

chcon -R -t httpd_sys_content_t /home/users/wordpress
chcon -R -t httpd_sys_rw_content_t /home/users/wordpress

카테고리: Techwordpress

댓글 남기기