shadowsocksrr / electron-ssr

Shadowsocksr client using electron
MIT License
1.73k stars 510 forks source link

Problems with chrome-sandbox #98

Closed zty199 closed 4 years ago

zty199 commented 4 years ago

Your os

Deepin V20 Beta Kernal: 5.3.0-3-amd64 WM: deepin-kwin

The version of electron-ssr

0.3.0-alpha.6

What's the problem

As metioned in issue #85 , it seems that since 0.3.0-alpha.1, there's a problem with chrome-sandbox. If I install with deb, it needs to run "sudo chmod 4755 /opt/electron-ssr/chrome-sandbox" to work properly. But if I run Appimage, there seems to be no way to chmod of this file. Is there any solution for this problem?

App log here

[15634:0604/224100.928277:FATAL:setuid_sandbox_host.cc(157)] 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_electrMJ20lJ/chrome-sandbox is owned by root and has mode 4755.

zty199 commented 4 years ago

Seems that if I use AppImage, it has to be run with --no-sandbox. Sorry for disturbing you.