From adf8b82b680734c5001c497a87621aefef0db29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 1 Sep 2024 23:12:51 +0200 Subject: [PATCH] Fix missing permission --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 2e37883..cbef3c3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,6 +15,7 @@ _set_permissions() { chmod +x "$install_dir/gitea" chown -R "$app:$app" "$data_dir" + chmod u=rwx,g=rx,o= "$data_dir" find "$data_dir" \( \! -perm -o= \ -o \! -user "$app" \ -o \! -group "$app" \) \