From 4f7a9fa90996c2e94c18fbe871f7d86a3113e067 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Sat, 30 Apr 2022 17:45:17 +0200 Subject: [PATCH] Fix: restore script --- scripts/restore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/restore b/scripts/restore index 259dda1..a304554 100755 --- a/scripts/restore +++ b/scripts/restore @@ -67,6 +67,9 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +mkdir -p "/var/log/$app" +chown -R $app: "/var/log/$app" + #================================================= # SPECIFIC RESTORATION #=================================================