diff --git a/scripts/install b/scripts/install index 794689f..dd41f4a 100644 --- a/scripts/install +++ b/scripts/install @@ -63,7 +63,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" -chmod 750 "$final_path" +chmod 775 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" diff --git a/scripts/restore b/scripts/restore index 44074b6..1847852 100755 --- a/scripts/restore +++ b/scripts/restore @@ -58,7 +58,7 @@ ynh_script_progression --message="Restoring the app main directory..." ynh_restore_file --origin_path="$final_path" -chmod 750 "$final_path" +chmod 775 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index feba8a5..93d6cd6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,7 +87,7 @@ then ynh_setup_source --dest_dir="$final_path" fi -chmod 750 "$final_path" +chmod 775 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path"