From f52c90c7ecba40d40bc50c0c8809e97086b9f6a3 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Wed, 23 Dec 2020 08:52:02 +0100 Subject: [PATCH] Fix restore by calling chown for log file --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 3145133..b0f4dad 100755 --- a/scripts/restore +++ b/scripts/restore @@ -70,6 +70,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" --use_shell #================================================= # Restore permissions on app files +chown -R "$app" "$log_path" chown -R "$app" "$public_path" chown -R "$app" "$final_path"