diff options
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" |