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

nwjs build not executable thru desktop file explorer on linux 16.10 #5631

Closed
smolleyes opened this issue Jan 12, 2017 · 3 comments
Closed

nwjs build not executable thru desktop file explorer on linux 16.10 #5631

smolleyes opened this issue Jan 12, 2017 · 3 comments

Comments

@smolleyes
Copy link

smolleyes commented Jan 12, 2017

hi

just builded nw myself (but same thing with official build 0.19.5) *

readelf -l for official 0.19.5 build return shared library file not EXEC

when i double click nw file in the file explorer nothing happen even if executable permissions are right... i have to run it thru terminal to launch it

an idear?

thanks

@smolleyes
Copy link
Author

smolleyes commented Jan 12, 2017

hummm

maybe a bug with ubuntu 16.10 gcc and maybe .04 too

https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1639531

@smolleyes smolleyes changed the title nwjs build not executable thru desktop on linux nwjs build not executable thru desktop file explorer on linux 16.10 Jan 12, 2017
@smolleyes
Copy link
Author

smolleyes commented Jan 12, 2017

just rebuilded nwjs 0.19.3 from a 14.04 chroot so gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) and same problem why elf is still

Elf file type is DYN (Shared object file)

and not executable ! can t understand

@ghostoy
Copy link
Member

ghostoy commented Jan 13, 2017

The Chromium (NW.js) was linked with -pie to enable Address space layout randomization (ASLR). ASLR can prevent buffer overflow attacks.

merged to #5287

@ghostoy ghostoy closed this as completed Jan 13, 2017
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