summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSt33v <github@f3rr3t.com>2026-03-15 16:29:08 +1100
committerSt33v <github@f3rr3t.com>2026-03-15 16:29:08 +1100
commit084d48669dd3b5695ecc78f293044e24472d513b (patch)
tree775f80461245254d0a235b54bf96b88b51c58423
parent96a9cd525e7caf46704ba2240c1c86f6892e3aaf (diff)
Fix synopticLatest.png world-readable permissions
magick creates files respecting the process umask; chmod 644 after mv ensures nginx can serve the file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xsynopticChart.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/synopticChart.sh b/synopticChart.sh
index a515c90..0ffac8c 100755
--- a/synopticChart.sh
+++ b/synopticChart.sh
@@ -47,3 +47,4 @@ magick -density 300 "${latestChart}" "${dateTime}.png"
mv "${latestChart}" "${RAW_DIR}/"
cp "${dateTime}.png" "${ARCHIVE_DIR}/"
mv "${dateTime}.png" "${LATEST}"
+chmod 644 "${LATEST}"