Can't run generated app due to wrong permission in Linux builds ("locales" and "resources" directories)
See original GitHub issue- Version: 7.10.0
- Target: Ubuntu .deb package
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:
drwx------ 2 root root 4.0K Sep 27 23:07 locales
drwx------ 3 root root 4.0K Sep 27 23:07 resources
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.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Troubleshoot Permission Issues - Bitnami Documentation
Check the command history for permission change operations: · Check the output. · If the files' permissions are wrong, use the chmod or...
Read more >Error: EACCES: permission denied - node.js - Stack Overflow
I know it is permission issue but as far as I know, sudo permission is not required for installing node module locally. If...
Read more >Container permission denied: How to diagnose this error
You can diagnose this by telling the user to attempt to run the container as root, which would match up to the default...
Read more >Permission Denied When Creating Directory or Writing a File
Builds run as the distiller user on MacOS and typically ubunutu on Linux. These users only have write permissions in their $HOME folders...
Read more >Known issues with Android Studio and Android Gradle Plugin
Workaround 2: Update your build script to manually copy resources into the build folder. See comment #13 for more information. Running JUnit tests...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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