posts fix
Some checks failed
Deploy / build-deploy (push) Failing after 3m26s

This commit is contained in:
Jorijn van der Graaf 2026-08-05 06:17:00 +02:00
commit 728e48fc4f
4 changed files with 41 additions and 28 deletions

View file

@ -212,6 +212,10 @@ fi
rm -f "$LINKED"
mkdir -p content
# mktemp files are born 0600, and that mode survives rsync -a all the way to
# production — where the server runs as another user and Caddy 403s the copy
# in the web root. The media loop already learned this (chmod there too).
chmod 0644 "$TMP"
mv "$TMP" "$OUT"
trap - EXIT
rm -f "$RAW"