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):