-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
The SUID sandbox #322
Comments
I faced the same issue now on: Package Versions0.6.3 PHP Version8.1.29 Laravel Version10.48.3 Node Version20.15.0 Which operating systems have you seen this occur on?Linux OS versionUbuntu Desktop 24.04 LTS |
Please update to the latest versions of NativePHP's dependencies and try again |
I'm having the same issue using the sabe OS version. Tried to update sudo chown root:root vendor/nativephp/electron/resources/js/node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 vendor/nativephp/electron/resources/js/node_modules/electron/dist/chrome-sandbox |
I got this error after running those two commands, I am using Ubuntu 24.04
|
What were you trying to do?
Try to execute installed app
What happened?
In previous versions I can build, install and execute the applications directly of appImage file or .deb installation and then execute, but recently I've build an app install it and when try to execute the icon appears in menu bar, and after a few second it disappears, so I try again but this time with appImage file throw terminal, i I've got next error message
[4559:0607/135557.518633:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_Samva n5nTSy/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped)
I have to mention this happens before for native:serve command, but I could solve this by setitng up chrome-sandbox ins vendor folder, but this is for installed app
I could solve it, by executing appImage with --no-sandbox argument, but that is not the idea.
In some investigations I've found this could be handled by electron building, but that process run automatically when run native:build, so if there is a way to avoid this throw a param command or code, I'll be tank you
How to reproduce the bug
execute installed app in linux
Package Versions
0.6.3
PHP Version
8.3.6
Laravel Version
11.10
Node Version
18.20.2
Which operating systems have you seen this occur on?
Linux
OS version
Ubbuntu 24.04 LTS with budgie (10.9.1)
Notes
No response
The text was updated successfully, but these errors were encountered: