From 7732427483472aa22544ab14a0c4a8101eb456a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Michaud?= Date: Mon, 17 May 2021 23:01:10 +0200 Subject: [PATCH] Fix permissions of file containing password --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63b60da..76d5a76 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ install: @cp borg_exporter.sh /usr/local/bin/ \ && chmod +x /usr/local/bin/borg_exporter.sh \ && cp -n borg_exporter.rc /etc/borg_exporter.rc \ - && chmod 700 /etc/borg_exporter.rc \ + && chmod 400 /etc/borg_exporter.rc \ && cp prometheus-borg-exporter.timer /etc/systemd/system/ \ && cp prometheus-borg-exporter.service /etc/systemd/system/ \ && echo -n "Edit the config file /etc/borg_exporter.rc and press [ENTER] when finished "; read _ \