From f23ff1bd85c6f80e116dab2a8c0710198b8ca785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20M=C3=BCnch?= Date: Sun, 31 May 2020 21:39:17 +0000 Subject: [PATCH] also own everything everytime --- update | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update b/update index 3b11666..af3b66f 100755 --- a/update +++ b/update @@ -9,5 +9,8 @@ echo "collecting static files ..." cd /home/willipink/coinmanager/coinmanager pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input +echo "owning everything ..." +sudo chown -r willipink:www-data /home/willipink/coinmanager + echo "reloading apache ..." sudo systemctl reload apache2