From 51ae8bc34f4871e33c51f06d6f6f45099b4f1fef Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 24 Sep 2021 14:35:32 +0200 Subject: [PATCH] /var/log/$app security also in restore --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 5ac7fdd..cc35ab0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -91,6 +91,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app + chmod o-rwx /var/log/$app popd #=================================================