From 68924109ba0abfe5a4edaa2f37fc94ea95fb9985 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 18 Feb 2023 20:26:15 +0100 Subject: [PATCH] fix chmod syntax + remove typo --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8963898b..edcd7edd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -152,7 +152,7 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" # Pixelfed app should be able to edit its settings from the admin panel -chmod -R 600 "$final_path"/.env +chmod 600 "$final_path"/.env #================================================= # UPGRADE DEPENDENCIES @@ -223,7 +223,7 @@ ynh_script_progression --message="Creating log file..." --weight=1 mkdir -p "/var/log/$app/" touch "/var/log/$app/${app}-horizon.log" chown -R $app: "/var/log/$app/" -chmod 600 $app: "/var/log/$app/" +chmod -R 600 $app: "/var/log/$app/" #================================================= # UPGRADE THE CRON FILE