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" #=================================================