From 6d943ae7c5bdeea5c840a09a693f0f4893626390 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 1 Nov 2020 22:04:56 +0100 Subject: [PATCH] permissions --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index c6a2a93..71bef0b 100644 --- a/scripts/install +++ b/scripts/install @@ -89,7 +89,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) # Set permissions to app files chown -R www-data:www-data $final_path -chmod -R 755 $final_path +chmod -R a+rw $final_path #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 85a6cf7..35aec7c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -68,7 +68,7 @@ ynh_system_user_create --username=$app # Restore permissions on app files chown -R www-data:www-data $final_path -chmod -R 755 $final_path +chmod -R a+rw $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 53f1270..5fe2a50 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,7 +105,7 @@ ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependenc # Set permissions on app files chown -R www-data:www-data $final_path -chmod -R 755 $final_path +chmod -R a+rw $final_path #================================================= # INTEGRATE SERVICE IN YUNOHOST