From 02ccb263caa97381f1eaf9ed305ff57fd7b69734 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 2 Feb 2017 06:34:19 -0800 Subject: The default permission from mktemp is only 600 :/. --- Library/firmware.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/firmware.sh b/Library/firmware.sh index a5bdd4d..c01c23e 100755 --- a/Library/firmware.sh +++ b/Library/firmware.sh @@ -53,6 +53,7 @@ EOF before=$(stat -c '%i-%Y' "${status}") output=$(mktemp "${data}"/status-tmp.XXXXXX) +chmod 644 "${output}" xxxxxx=${output##*/status-tmp.} rm -f "${data}"/status-tmp.!("${xxxxxx}") -- cgit v1.2.3