From 9e03083c629ab7155bce4e6bc970eba4b091c314 Mon Sep 17 00:00:00 2001 From: antoine Date: Sat, 7 Dec 2019 18:42:11 +0100 Subject: [PATCH] sudo is not necessary, script run as root --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 109ee4b..fd03e10 100644 --- a/scripts/restore +++ b/scripts/restore @@ -89,8 +89,8 @@ ynh_install_app_dependencies $pkg_dependencies # Restore permissions to app files -sudo chown -R $app: "${final_path}" -sudo chmod -R 700 $final_path/data +chown -R $app: "${final_path}" +chmod -R 700 $final_path/data #================================================= # RESTORE THE MYSQL DATABASE