본문 바로가기
study/server

php fopen permission

by 땅콩잉 2021. 10. 1.
728x90

권한 거부 당해서 파일을 열지 못함.

chmod 777해도 안될 때.

selinux 로 권한부여 하면 됨.

 

chcon -t httpd_sys_rw_content_t /home/centos/data -R

댓글