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."