develar / 7zip-bin

7-Zip precompiled binaries
MIT License
117 stars 33 forks source link

5.2.0 Cannot execute on Linux #19

Open xmedeko opened 2 years ago

xmedeko commented 2 years ago

Error: node_modules/7zip-bin/linux/x64/7za: Permission denied

$ cd node_modules/7zip-bin/linux/x64/
$ ls -l
-rw-rw-r-- 1 auser auser 1457384 May 23 18:15 7za

Maybe the npm package has been built without right permissions? (E.g. on Windows?)

onikienko commented 2 years ago

Same problem on Mac M1.

AllenCoder commented 2 years ago

Same problem on Mac x64

woondossier commented 2 years ago

Can confirm a chmod +x on the bin fixes the issue, so it's missing executable rights. Easily fixed by doing git update-index --chmod=+x filename if it's not set right in git.

simas2275 commented 2 years ago

Same problem on github actions. Downgraded to 5.1.1v and now everything is working