카테고리 없음

[CentOS][Apache] SELinux is preventing /usr/sbin/httpd from getattr access on the file

생각하는로뎅 2022. 2. 21. 22:18
반응형

아파치 설정 후, 시작시 아래 메세지를 받았다

 

SELinux is preventing /usr/sbin/httpd from getattr access on the file xxxxxxxxxx

 

chcon -R -t httpd_log_t xxxx(액세스가 안되 경로)

 

이렇게 하니까 해결

반응형