宝塔用户_udsetu 发表于 2024-12-29 15:04:13

PermissionError: [Errno 13] Permission denied: '/www/server/panel/vhost/nginx...

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.3
系统版本:CentOS7.7.
问题描述:添加新域名出错
相关截图(日志、错误):PermissionError: Permission denied: '/www/server/panel/vhost/nginx/btwaf.conf'
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2541, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2488, in run
    result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelRedirect.py", line 269, in ModifyRedirect
    if self.__CheckRedirectStart(get):
File "/www/server/panel/class/panelRedirect.py", line 155, in __CheckRedirectStart
    isError = public.checkWebConfig()
File "class/public.py", line 1259, in checkWebConfig
    if os.path.exists(f3): os.remove(f3)
PermissionError: Permission denied: '/www/server/panel/vhost/nginx/btwaf.conf'

页: [1]
查看完整版本: PermissionError: [Errno 13] Permission denied: '/www/server/panel/vhost/nginx...