7zip-bin icon indicating copy to clipboard operation
7zip-bin copied to clipboard

5.2.0 Cannot execute on Linux

Open xmedeko opened this issue 2 years ago • 4 comments

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?)

xmedeko avatar May 23 '22 18:05 xmedeko

Same problem on Mac M1.

onikienko avatar Jun 03 '22 08:06 onikienko

Same problem on Mac x64

AllenCoder avatar Aug 29 '22 09:08 AllenCoder

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.

woondossier avatar Sep 01 '22 06:09 woondossier

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

simas2275 avatar Nov 18 '22 09:11 simas2275