【已解答】删除站点失败
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版 9.4版本系统版本:centos8
问题描述:删除站点失败
相关截图(日志、错误):出错了,面板运行时发生错误!PermissionError: Operation not permitted: '/www/server/panel/vhost/nginx/shop.mxcome.com.conf'
REQUEST_DATE: 2025-02-21 21:13:19VERSION: CentOS8.4.2105 x86_64(Py3.7.9) - 9.4.0 REMOTE_ADDR: 101.44.82.135 REQUEST_URI: POST /site?action=DeleteSiteREQUEST_FORM: {'id': '4', 'webname': 'shop.mxcome.com'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36Traceback (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/panelSite.py", line 948, in DeleteSite if os.path.exists(confPath): os.remove(confPath)PermissionError: Operation not permitted: '/www/server/panel/vhost/nginx/shop.mxcome.com.conf'
联系我,我帮你看看 上面是一个没有权限的提示,请检查这个文件/www/server/panel/vhost/nginx/shop.mxcome.com.conf是否有被特殊权限锁定,或者正在被进程占用
页:
[1]