From c1593d4392e4e45ee01995a97a3310fb3ab8d245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 25 Mar 2024 16:17:52 +0100 Subject: [PATCH] Fix install_dir permission again --- scripts/install | 1 + scripts/restore | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index f203b39..47b7d01 100644 --- a/scripts/install +++ b/scripts/install @@ -53,6 +53,7 @@ EOF ynh_script_progression --message="Download source files..." --weight=10 ynh_setup_source --dest_dir="$install_dir" +chmod 750 "$install_dir" chown -R "$app:www-data" "$install_dir" #================================================= diff --git a/scripts/restore b/scripts/restore index f083b6e..4e3e444 100755 --- a/scripts/restore +++ b/scripts/restore @@ -15,6 +15,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" +chmod 750 "$install_dir" chown -R $app:www-data "$install_dir" #=================================================