From 02ccb263caa97381f1eaf9ed305ff57fd7b69734 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 2 Feb 2017 06:34:19 -0800 Subject: [PATCH 1/1] The default permission from mktemp is only 600 :/. --- Library/firmware.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/firmware.sh b/Library/firmware.sh index a5bdd4df..c01c23ec 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}") -- 2.47.2