summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-02 06:34:19 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-02 06:34:19 -0800
commit02ccb263caa97381f1eaf9ed305ff57fd7b69734 (patch)
treebf07d0f8e74f14dc8285d99e08a479e9f4e2461a /Library
parentb1b79d408f3cda3965b8d9087c334f26b7603208 (diff)
The default permission from mktemp is only 600 :/.v1.1.28%b11
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/firmware.sh1
1 files changed, 1 insertions, 0 deletions
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}")