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.

[BUG] [GUI] chrome-sandbox is owned by root and has mode 4755

See original GitHub issue

I have this error on my fresh install Debian Buster. I followed the installation guide (from source code), but i have this error when i try to launch gui

[5017:0512/191633.734238: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 /home/farmer/chia-blockchain/chia-blockchain-gui/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. /home/farmer/chia-blockchain/chia-blockchain-gui/node_modules/electron/dist/electron exited with signal SIGTRAP npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! chia-blockchain@ electron: 'electron '. npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the chia-blockchain@ electron script.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
lemugencommented, May 16, 2021

this work for me sudo chown root:root chrome-sandbox sudo chmod 4755 chrome-sandbox

0reactions
restufauzi697commented, Jun 7, 2022

how about using the --no-sandbox flag for me it works,

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Visual Studio Code
Exec=/usr/bin/chromium --no-sandbox --profile-directory=Default --app-id=jhdpafkbedbgckdnecbbppbpboebapeb
Icon=code
StartupWMClass=crx_jhdpafkbedbgckdnecbbppbpboebapeb
Read more comments on GitHub >

github_iconTop Results From Across the Web

Solve “The SUID sandbox helper binary was found, but is not ...
mount_lossle3kkVRT/chrome-sandbox is owned by root and has mode 4755. fish: “lossless-cut” terminated by signal SIGTRAP (Trace or breakpoint ...
Read more >
Is it necessary to set permission manually 4755 at /usr/share ...
You need to make sure that /usr/share/mailspring/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap.
Read more >
Building electron linux distro : The SUID sandbox helper ...
Here're the available workarounds from that discussion: 1.chown and chmod the file first like what you did. sudo chown root chrome-sandbox chmod ...
Read more >
Why does signal-desktop require 4755 with root:root on ...
Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/Signal/chrome-sandbox is owned by root and has mode 4755....
Read more >
The SUID sandbox helper binary must have permission root ...
You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755. Aborted What is the expected behavior?
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