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