diff --git a/scripts/install b/scripts/install index bd62b5e..f07a8fa 100644 --- a/scripts/install +++ b/scripts/install @@ -135,8 +135,7 @@ popd #================================================= # Set permissions to app files -chown -R www-data: $final_path - +chown -R $app: $final_path #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index a6c19cb..73176d6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,7 +67,7 @@ ynh_system_user_create $app #================================================= # Restore permissions on app files -chown -R www-data: $final_path +chown -R $app: $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 3f12aaf..2d1fefa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -122,7 +122,7 @@ popd #================================================= # Set permissions on app files -chown -R www-data: $final_path +chown -R $app: $final_path #================================================= # SETUP SSOWAT