From 586723ba208b968feeeee3801253135c77ed7239 Mon Sep 17 00:00:00 2001 From: Stephan Sperber Date: Sun, 27 Oct 2024 07:17:14 +0100 Subject: [PATCH] logrotate: fix permissions on configfile this should fix https://github.com/pi-hole/docker-pi-hole/issues/1387 Signed-off-by: Stephan Sperber --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 1da188b0..4425c7f6 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -53,7 +53,7 @@ RUN cd /etc/.pihole && \ install -Dm755 -t /opt/pihole ./advanced/Scripts/*.sh && \ install -Dm755 -t /opt/pihole ./advanced/Scripts/COL_TABLE && \ install -Dm755 -d /etc/pihole && \ - install -Dm644 -t /etc/pihole ./advanced/Templates/logrotate && \ + install -Dm600 -t /etc/pihole ./advanced/Templates/logrotate && \ install -Dm755 -d /var/log/pihole && \ install -Dm755 -d /var/lib/logrotate && \ install -Dm755 -t /usr/local/bin pihole && \