diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-30 16:42:32 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-30 16:42:33 +0200 |
| commit | fe250aa344626b2e6283afd2c31979dccd327778 (patch) | |
| tree | 846b3050104a31364e0a19346056d88f1fb69368 /extras | |
| parent | 43446bf7db0cb8779aa493042eece0523ec2bfdf (diff) | |
Fix HTML
Diffstat (limited to 'extras')
| -rw-r--r-- | extras/estampa.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/estampa.sh b/extras/estampa.sh index 53a705a..46cca53 100644 --- a/extras/estampa.sh +++ b/extras/estampa.sh @@ -65,6 +65,9 @@ estampaste() { rm -f "$tmp" return 1 fi + # mktemp creates 600; scp preserves source mode, so without this + # the upload lands unreadable to the nginx user. + chmod 644 "$tmp" if ! scp -q "$tmp" "$host:./$name"; then rm -f "$tmp" |