From b60309a7e6d1698146f59b825bb8dcaf597f1df7 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 2 Dec 2023 23:37:52 +0100 Subject: [PATCH] mktemp creates restricted files, we need to change permissions --- templates/borg_exporter.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/borg_exporter.j2 b/templates/borg_exporter.j2 index 914dcea..44437a1 100644 --- a/templates/borg_exporter.j2 +++ b/templates/borg_exporter.j2 @@ -57,3 +57,4 @@ status=$(get_status_data) printf '%s' "$status" >"$TMP_FILE" printf '\n' >> "$TMP_FILE" mv "$TMP_FILE" "$PROM_FILE" +chmod 0644 "$PROM_FILE"