用面板直接修改网站的HTML又不行。。。。。。。。。。但是后台发文章删除文章就随便,防篡改会自动关闭
------------------------------------------------------------
|-防篡改服务已启动
============================================================
>>>>>>>>>>BT-END<<<<<<<<<<
Traceback (most recent call last):
File "tamper_proof_service.py", line 322, in
run()
File "tamper_proof_service.py", line 300, in run
notifier.loop()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pyinotify.py", line 1376, in loop
self.process_events()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pyinotify.py", line 1275, in process_events
self._default_proc_fun(revent)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pyinotify.py", line 910, in __call__
return _ProcessEvent.__call__(self, event)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pyinotify.py", line 630, in __call__
return meth(event)
File "tamper_proof_service.py", line 39, in process_IN_CREATE
if os.path.exists(event.pathname): os.remove(event.pathname)
PermissionError: [Errno 1] Operation not permitted: '/www/wwwroot/www.匿名网站.html' |