From cd4cf8c5356f0806d341b6d98fa1c31660ed9ae9 Mon Sep 17 00:00:00 2001 From: Georgi Kirichkov Date: Sun, 31 Jul 2022 19:22:21 +0300 Subject: [PATCH] Allows all users to read /config/recorder.conf The Docker image adds /config/recorder.conf with mode 0640. When running the container using a non-root user this results in an error - "Cannot read defaults from /config/recorder.conf: Permission denied" This change will make the file readable by everyone and remove the error from the log --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e9a5883..6daa833 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,6 +45,7 @@ COPY recorder-health.sh /usr/sbin/recorder-health.sh COPY entrypoint.sh /usr/sbin/entrypoint.sh RUN chmod +x /usr/sbin/*.sh +RUN chmod +r /config/recorder.conf # If you absolutely need health-checking, enable the option below. Keep in # mind that until https://github.com/systemd/systemd/issues/6432 is resolved,