From e693596b9517c722ace3449ba56f167b4b51f510 Mon Sep 17 00:00:00 2001 From: Louis <6653109+artonge@users.noreply.github.com> Date: Mon, 5 Oct 2020 17:11:15 +0200 Subject: [PATCH] Make final permissions on amavis config files more predictable --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e5b90d31..4aa97926 100644 --- a/Dockerfile +++ b/Dockerfile @@ -169,7 +169,7 @@ RUN sed -i -r 's/#(@| \\%)bypass/\1bypass/g' /etc/amavis/conf.d/15-content_fil adduser --system syslog && \ useradd -u 5000 -d /home/docker -s /bin/bash -p "$(echo docker | openssl passwd -1 -stdin)" docker && \ echo "0 4 * * * /usr/local/bin/virus-wiper" | crontab - && \ - chmod go-w /etc/amavis/conf.d/* + chmod 644 /etc/amavis/conf.d/* # Configure Fail2ban COPY target/fail2ban/jail.conf /etc/fail2ban/jail.conf