fetchzip: remove write permissions for unpacked files #102114
Motivation for this change
Some zip files contain 4.4.15 external file attributes that may set the write bit of unpacked files. This change ensures that all files fetched & unpacked with
The text was updated successfully, but these errors were encountered:
Yep, thank you. I just submitted a fix now.
Anything that currently builds with
I've tested this change on a few projects, including all the projects that previously needed to be patched, but I'm not sure of a good way to test everything other than setting all hashes passed to fetchzip to something invalid and then redownloading everything.
Even if it did change the hash, which it definitely shouldn't, the previous hash would be cached and would be used instead.