]> git.saurik.com Git - cydia.git/commitdiff
The default permission from mktemp is only 600 :/. v1.1.28%b11
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Feb 2017 14:34:19 +0000 (06:34 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Feb 2017 14:34:19 +0000 (06:34 -0800)
Library/firmware.sh

index a5bdd4dfac3ab31eb08dafbcb046eb385eeda4e7..c01c23ec9d018372fe8854ce913d6303f4baf1f5 100755 (executable)
@@ -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}")