cgi: also fix permissions

master
Mikhail Novosyolov 3 years ago
parent 73672f541e
commit 172e2777cb
  1. 2
      doskast-trigger-connect.cgi

@ -9,7 +9,7 @@ set -u
_main_trigger_connect(){
local umask_old
local tmp
tmp="$(umask 077 && mktemp --tmpdir="$dir" connect.XXXXX)"
tmp="$(umask 0022 && mktemp --tmpdir="$dir" connect.XXXXX)"
test -f "$tmp"
echo "$REMOTE_ADDR" > "$tmp"
}

Loading…
Cancel
Save