From 24d174e7959b9c61c832f165c21f6f8634b48393 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 26 Jul 2024 13:40:37 +0200 Subject: [PATCH] fix permissions --- Dockerfile | 1 - run.sh | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70e24fc..283fded 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM ubuntu:24.04 # install and configure munin -# hadolint ignore=DL3008 # hadolint ignore=DL3008 RUN apt-get update && \ diff --git a/run.sh b/run.sh index 1991426..e110745 100644 --- a/run.sh +++ b/run.sh @@ -80,10 +80,12 @@ EOF fi # ensure munin folder exist and have right permission - mkdir -p /var/lib/munin/cgi-tmp /var/cache/munin/www chown -R munin:munin /var/lib/munin /var/cache/munin chmod -R ugo+rw /var/lib/munin/cgi-tmp +chown munin:munin /var/log/munin/munin-graph.log +chown munin:munin /var/log/munin/munin-limits.log +chown munin:munin /var/log/munin/munin-html.log # start cron /usr/sbin/cron &