From 8346f9e89fbcbd7eabfb8d474ff3f320aa3903ca Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Fri, 14 Mar 2025 17:06:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=BA=94=E7=94=A8=20?= =?UTF-8?q?=E9=95=BF=E6=AF=9B=E8=B1=A1=20Mastodon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- apps/mastodon/4.3.6/scripts/init.sh | 3 +++ apps/mastodon/4.3.6/scripts/upgrade.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/apps/mastodon/4.3.6/scripts/init.sh b/apps/mastodon/4.3.6/scripts/init.sh index a0ee2918d..a1156ba97 100644 --- a/apps/mastodon/4.3.6/scripts/init.sh +++ b/apps/mastodon/4.3.6/scripts/init.sh @@ -11,6 +11,9 @@ if [ -f .env ]; then echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env echo "APP_ENV_FILE=${CURRENT_DIR}/envs/mastodon.env" >> .env + # setup-2 add update permission + chown -R 991:991 "$MASTODON_ROOT_PATH" + echo "Check Finish." else diff --git a/apps/mastodon/4.3.6/scripts/upgrade.sh b/apps/mastodon/4.3.6/scripts/upgrade.sh index a0ee2918d..a1156ba97 100644 --- a/apps/mastodon/4.3.6/scripts/upgrade.sh +++ b/apps/mastodon/4.3.6/scripts/upgrade.sh @@ -11,6 +11,9 @@ if [ -f .env ]; then echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env echo "APP_ENV_FILE=${CURRENT_DIR}/envs/mastodon.env" >> .env + # setup-2 add update permission + chown -R 991:991 "$MASTODON_ROOT_PATH" + echo "Check Finish." else