From a76443a7b025db17ddb6f78d809e3569b4af3ad6 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 9 Jan 2018 18:20:52 +0100 Subject: [PATCH] Fix chown after pulling --- pull.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pull.sh b/pull.sh index 13d137e..3f6998b 100755 --- a/pull.sh +++ b/pull.sh @@ -16,3 +16,6 @@ if [ "$1" = "--restore-db" ]; docker-compose run db /srv/bin/db/restore.sh fi +# We need to chown folders as they are docker's volumes +sudo chown -R www-data var/media +sudo chown -R root var/backup -- 2.39.5