diff --git a/scripts/install b/scripts/install index 140f149..4b3448b 100755 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" -chown -R ynh_$app:www-data "$install_dir" +chown -R www-data:www-data "$install_dir" #================================================= # NGINX CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 200cb61..f5eef1f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -18,7 +18,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" chmod -R o-rwx "$install_dir" -chown -R ynh_$app:www-data "$install_dir" +chown -R www-data:www-data "$install_dir" #================================================= # RESTORE THE NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 31e64b3..63a7b47 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,7 +28,7 @@ then fi chmod -R o-rwx "$install_dir" -chown -R ynh_$app:www-data "$install_dir" +chown -R www-data:www-data "$install_dir" #================================================= # NGINX CONFIGURATION