From 3cd83289451e3e96c2c1223b901a557c48679ea9 Mon Sep 17 00:00:00 2001 From: Salamandar Date: Tue, 19 Jun 2018 10:18:50 +0200 Subject: [PATCH] Fix path to gitea binary for chmod --- scripts/_common.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 9b05fdd..3641ba2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -74,11 +74,9 @@ set_permission() { chown -R $app:$app "$final_path" chown -R $app:$app "/home/$app" chown -R $app:$app "/var/log/$app" + chmod u=rwX,g=rX,o= "$final_path" - chmod u=rwx,g=rx,o= "$final_path/$app" + chmod u=rwx,g=rx,o= "$final_path/gitea" chmod u=rwX,g=rX,o= "/home/$app" chmod u=rwX,g=rX,o= "/var/log/$app" } - - -