question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Oct 2, 2016

Confirmed, will be fixed ASAP, sorry for delay.

0reactions
develarcommented, Nov 27, 2016

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found