diff --git a/scripts/install b/scripts/install index 7704aef..25bf37a 100755 --- a/scripts/install +++ b/scripts/install @@ -86,6 +86,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_setup_source --dest_dir="$final_path" chmod 750 "$final_path" +ynh_exec_warn_less mkdir sessions chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index adfeccf..39e2e16 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -86,6 +86,7 @@ popd ynh_setup_source --dest_dir="$final_path" --full_replace=1 chmod 750 "$final_path" +ynh_exec_warn_less mkdir sessions chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path"