Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7za binary access fails with EACCES, does not have "execute" permission set #79

Open
stefan-girlich opened this issue Mar 28, 2023 · 1 comment

Comments

@stefan-girlich
Copy link

Full issue description in Electron Forge issue tracker:
electron/forge#3196 (assuming it's a Forge issue)

tldr; /Users/me/my-project/.webpack/main/native_modules/mac/arm64/7za has no "execute" permission. Setting it via chmod +x helps, but permission is reset again when running yarn start

Happy to help with further details, thanks for your support!

@onikienko
Copy link
Owner

onikienko commented Mar 28, 2023

Hi @stefan-girlich

Thank you for the report. If honest I have no idea how Electron Forge works.

You may try to set chmod for the executable in the start script. But no idea how it will work in production.

Also, check that you are using the latest 7zip-min version (1.4.4) and installed 7zip-bin is v5.1.1.
There is a bug with 7zip-bin v5.2.0 - #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants