From 2506825d24a6740a35302616b7761df6a35df2a5 Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Thu, 9 Jan 2025 16:08:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- apps/nodebb/3.12.2/scripts/init.sh | 4 ---- apps/nodebb/3.12.2/scripts/upgrade.sh | 4 ---- apps/weblate/5.9.2.1/scripts/init.sh | 3 --- apps/weblate/5.9.2.1/scripts/upgrade.sh | 3 --- 4 files changed, 14 deletions(-) diff --git a/apps/nodebb/3.12.2/scripts/init.sh b/apps/nodebb/3.12.2/scripts/init.sh index 5a0bedb8..cfc15663 100644 --- a/apps/nodebb/3.12.2/scripts/init.sh +++ b/apps/nodebb/3.12.2/scripts/init.sh @@ -17,13 +17,9 @@ if [ -f .env ]; then mkdir -p "$NODEBB_ROOT_PATH/config" chmod -R 1001:1001 "$NODEBB_ROOT_PATH" - chmod -R 644 "$NODEBB_ROOT_PATH" chmod -R 1001:1001 "$NODEBB_ROOT_PATH/build" - chmod -R 644 "$NODEBB_ROOT_PATH/build" chmod -R 1001:1001 "$NODEBB_ROOT_PATH/uploads" - chmod -R 644 "$NODEBB_ROOT_PATH/uploads" chmod -R 1001:1001 "$NODEBB_ROOT_PATH/config" - chmod -R 644 "$NODEBB_ROOT_PATH/config" echo "Check Finish." diff --git a/apps/nodebb/3.12.2/scripts/upgrade.sh b/apps/nodebb/3.12.2/scripts/upgrade.sh index 5a0bedb8..cfc15663 100644 --- a/apps/nodebb/3.12.2/scripts/upgrade.sh +++ b/apps/nodebb/3.12.2/scripts/upgrade.sh @@ -17,13 +17,9 @@ if [ -f .env ]; then mkdir -p "$NODEBB_ROOT_PATH/config" chmod -R 1001:1001 "$NODEBB_ROOT_PATH" - chmod -R 644 "$NODEBB_ROOT_PATH" chmod -R 1001:1001 "$NODEBB_ROOT_PATH/build" - chmod -R 644 "$NODEBB_ROOT_PATH/build" chmod -R 1001:1001 "$NODEBB_ROOT_PATH/uploads" - chmod -R 644 "$NODEBB_ROOT_PATH/uploads" chmod -R 1001:1001 "$NODEBB_ROOT_PATH/config" - chmod -R 644 "$NODEBB_ROOT_PATH/config" echo "Check Finish." diff --git a/apps/weblate/5.9.2.1/scripts/init.sh b/apps/weblate/5.9.2.1/scripts/init.sh index c1da5f7d..c9dd4c60 100644 --- a/apps/weblate/5.9.2.1/scripts/init.sh +++ b/apps/weblate/5.9.2.1/scripts/init.sh @@ -16,11 +16,8 @@ if [ -f .env ]; then mkdir -p "$WEBLATE_ROOT_PATH/cache" chmod -R 1000:1000 "$WEBLATE_ROOT_PATH" - chmod -R 644 "$WEBLATE_ROOT_PATH" chmod -R 1000:1000 "$WEBLATE_ROOT_PATH/data" - chmod -R 644 "$WEBLATE_ROOT_PATH/data" chmod -R 1000:1000 "$WEBLATE_ROOT_PATH/cache" - chmod -R 644 "$WEBLATE_ROOT_PATH/cache" echo "Check Finish." diff --git a/apps/weblate/5.9.2.1/scripts/upgrade.sh b/apps/weblate/5.9.2.1/scripts/upgrade.sh index c1da5f7d..c9dd4c60 100644 --- a/apps/weblate/5.9.2.1/scripts/upgrade.sh +++ b/apps/weblate/5.9.2.1/scripts/upgrade.sh @@ -16,11 +16,8 @@ if [ -f .env ]; then mkdir -p "$WEBLATE_ROOT_PATH/cache" chmod -R 1000:1000 "$WEBLATE_ROOT_PATH" - chmod -R 644 "$WEBLATE_ROOT_PATH" chmod -R 1000:1000 "$WEBLATE_ROOT_PATH/data" - chmod -R 644 "$WEBLATE_ROOT_PATH/data" chmod -R 1000:1000 "$WEBLATE_ROOT_PATH/cache" - chmod -R 644 "$WEBLATE_ROOT_PATH/cache" echo "Check Finish."