From 7f7196c55e460b778efa876fc14be12fb3f7db10 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 30 Oct 2023 16:03:37 +0800 Subject: [PATCH] Update index.py --- plugins/gitea/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/gitea/index.py b/plugins/gitea/index.py index fd20a565b..51bf6d5f3 100755 --- a/plugins/gitea/index.py +++ b/plugins/gitea/index.py @@ -981,6 +981,7 @@ def projectScriptSelf_Enable(): '{$HOOK_LOGS_DIR}', custom_path + '/self_logs') mw.writeFile(self_file, content) mw.execShell("chmod 777 " + self_file) + mw.execShell("chown -R www:www " + self_file) commit_content = mw.readFile(commit_path) commit_content += "\n\n" + "bash " + self_file + " " + note