diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-02 06:34:19 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-02 06:34:19 -0800 |
commit | 02ccb263caa97381f1eaf9ed305ff57fd7b69734 (patch) | |
tree | bf07d0f8e74f14dc8285d99e08a479e9f4e2461a /Library/firmware.sh | |
parent | b1b79d408f3cda3965b8d9087c334f26b7603208 (diff) |
The default permission from mktemp is only 600 :/.v1.1.28%b11
Diffstat (limited to 'Library/firmware.sh')
-rwxr-xr-x | Library/firmware.sh | 1 |
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}") |