1. 2018.07.31 apache 403 forbidden error

apache 403 forbidden error

디렉토리 소유권이나 권한을 모두 맞췄음에도 계속해서 403에러가 발생함;;


정상동작하는 디렉토리와 비교


ls -laZ /var/www

drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 html


ls -laZ /home

drwxr-xr-x. root     root     unconfined_u:object_r:home_root_t:s0 test


둘사이 차이가 있음;;


chcon -R -t httpd_sys_content_t /home/test


처리로 해결;;

Return top