From 71481cd73194e53b30cdf6e0802abf0b24cffedb Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 13 Jul 2023 15:44:27 +0200 Subject: [PATCH] fix remaining problem with apache container Signed-off-by: Simon L --- Containers/apache/Dockerfile | 1 + php/containers.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Containers/apache/Dockerfile b/Containers/apache/Dockerfile index 5eddfce5..b0c3a5a0 100644 --- a/Containers/apache/Dockerfile +++ b/Containers/apache/Dockerfile @@ -66,6 +66,7 @@ RUN set -ex; \ chown -R www-data:www-data /usr/local/apache2; \ chmod +r -R /usr/local/apache2; \ mkdir -p /usr/local/apache2/logs; \ + chmod 777 -R /home/www-data; \ chmod 777 -R /usr/local/apache2/logs; \ \ echo "root:$(openssl rand -base64 12)" | chpasswd diff --git a/php/containers.json b/php/containers.json index f0e181ad..43d1488e 100644 --- a/php/containers.json +++ b/php/containers.json @@ -61,7 +61,8 @@ "/var/log/supervisord", "/var/run/supervisord", "/usr/local/apache2/logs", - "/tmp" + "/tmp", + "/home/www-data" ] }, {