html tool

2023年2月15日星期三

转:ningix *21 opendir() "/xxx" failed (13: Permission denied) 处理

 问题:nginx err log提示 “21 opendir() "/data/nginx_s" failed (13: Permission denied)”


参考:https://ramk.co.in/nginx-opendir-failed-13-permission-denied/

处理:

Also if you are using a centos 7 box, SELinux is enabled by default. We can set it to persmissive mode by using the following command.

sudo setenforce permissive

But SELinux will be enabled again on restart.

没有评论:

发表评论