From 7ed31836e2b25987f241b6d8fa863c137dab7c1e Mon Sep 17 00:00:00 2001 From: Ferror Date: Sun, 10 Jul 2022 18:56:29 +0200 Subject: [PATCH] [docker]Ensure var/sessions is created --- docker/php/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/php/docker-entrypoint.sh b/docker/php/docker-entrypoint.sh index ea2073e524..79e5ed8764 100755 --- a/docker/php/docker-entrypoint.sh +++ b/docker/php/docker-entrypoint.sh @@ -7,7 +7,7 @@ if [ "${1#-}" != "$1" ]; then fi if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then - mkdir -p var/cache var/log public/media + mkdir -p var/cache var/log var/sessions public/media setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var public/media setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var public/media