-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Can't run generated app due to wrong permission in Linux builds ("locales" and "resources" directories) #786
Comments
I believe I have the similar problem: after building my app for linux (.deb), I can not run app as normal user:
I am able to run app as root (with sudo) properly. source code for my app is here: https://github.com/hovancik/stretchly |
Me too. Same issue. Tried to debug using electron-inspector and got this error
But my permissions are right. |
Confirmed, will be fixed ASAP, sorry for delay. |
@KochiyaOcean Extra directories permissions is fixed — 755 regardless of original source directory mode. Extra files permissions is fixed as well — read for all is added if missed in the original source file mode. 10.1.0 |
The permissions are correctly set when using electron-builder v7.3.0. When building with v7.10.0, the installed app can't run after it's installed due to these wrong permissions:
I've also found this issue is present in the
linux-unpacked
directory that is generated during a build, so it doesn't seem related to generating deb or rpm packages.The text was updated successfully, but these errors were encountered: