From 3e0f409f1369a4dcf82ca560b071afd993dcabcd Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Thu, 18 May 2023 22:51:02 -0500 Subject: [PATCH] fix: permissions issues --- src/021-user-gitea.sh | 8 ++++++++ src/gitea-app.ini | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/021-user-gitea.sh b/src/021-user-gitea.sh index d27107f..29c2ccf 100644 --- a/src/021-user-gitea.sh +++ b/src/021-user-gitea.sh @@ -36,3 +36,11 @@ cp ./gitea-docker-compose.yml /home/git/docker-compose.yml cp ./gitea-app.ini /home/git/config/app.ini chown -R git:git /home/git +chown -R git:git /home/git/data +chown -R git:git /home/git/data/git +chown -R git:git /home/git/config + +chmod -R 777 /home/git +chmod -R 777 /home/git/data +chmod -R 777 /home/git/data/git +chmod -R 777 /home/git/config diff --git a/src/gitea-app.ini b/src/gitea-app.ini index 3790f36..c9c520d 100644 --- a/src/gitea-app.ini +++ b/src/gitea-app.ini @@ -7,7 +7,7 @@ RUN_MODE = prod DOMAIN = localhost SSH_DOMAIN = localhost HTTP_PORT = 3000 -ROOT_URL = git.orionkindel.com +; ROOT_URL = git.orionkindel.com DISABLE_SSH = false SSH_PORT = 22 SSH_LISTEN_PORT = 22