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
This commit is contained in:
Georgi Kirichkov
2022-07-31 19:22:21 +03:00
committed by GitHub
parent 46cb7b2b3f
commit cd4cf8c535

View File

@@ -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,