From cec5fc594f2fd8a1ffcb91c80a17c18b5392c768 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 4 Sep 2024 13:07:57 +0800 Subject: [PATCH] Update index.py --- plugins/gitea/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gitea/index.py b/plugins/gitea/index.py index 1f480729d..c50262b9b 100755 --- a/plugins/gitea/index.py +++ b/plugins/gitea/index.py @@ -138,6 +138,8 @@ def initDreplace(): git_dir = mw.getServerDir() + '/git' if not os.path.exists(git_dir): mw.execShell('mkdir -p ' + git_dir) + mw.execShell('chown -R www:www ' + git_dir) + initD_path = getServerDir() + '/init.d' if not os.path.exists(initD_path):