From 23ebfb2c04aa81b2001eeb9c49da5e10fe63fd48 Mon Sep 17 00:00:00 2001 From: Yalh Date: Sun, 27 Jan 2019 09:29:49 +0100 Subject: [PATCH] Fix CHOWN --- scripts/install | 4 ++-- scripts/restore | 2 +- scripts/upgrade | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 5866d6f..57c52b2 100755 --- a/scripts/install +++ b/scripts/install @@ -344,8 +344,8 @@ ynh_store_file_checksum "$config_path/autodiscover.conf.php" # Set permissions to app files #chown -R www-data: $final_path -chown -R www-data: $log_path -chown -R www-data: $state_path +chown -R www-data:www-data $log_path +chown -R www-data:www-data $state_path #================================================= # SETUP LOGROTATE diff --git a/scripts/restore b/scripts/restore index 87f4f62..9dc212b 100755 --- a/scripts/restore +++ b/scripts/restore @@ -76,7 +76,7 @@ ynh_restore_file "$final_path" #================================================= # Restore permissions on app files -chown -R www-data: $final_path +chown -R www-data:www-data $final_path #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 1ebb943..e7ff96e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -230,8 +230,8 @@ ynh_use_logrotate --non-append # Set permissions on app files #chown -R root: $final_path -chown -R www-data: $log_path -chown -R www-data: $state_path +chown -R www-data:www-data $log_path +chown -R www-data:www-data $state_path #================================================= # SETUP SSOWAT