mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
releases/fetch.sh downloaded into a mktemp file and moved it into place, so every download kept mktemp's 0600, and the bundled ferretdb and mongo-tools were 0711 after chmod +x. A user other than the owner gets "Permission denied" from such a file, and since today's appimagetool checks for it, all six v12.69 AppImages (i686, x86_64, aarch64, armhf and both musl ones) failed: "has mode 0711, but it must be readable for all users". A download now gets the mode its umask gives a new file, and the AppDir is made a+rX before it is packed. tests/releaseDownloads.test.cjs fails on the old fetch.sh with 711 instead of 755 and checks that a stricter umask is still followed; tests/appImageRuntime.test.cjs pins both. Thanks to xet7 !