Linux安装AppImage文件chrome-sandbox出错问题
Tofloor
poster avatar
xiamingyu
deepin
2020-05-23 19:19
Author
下载了一个ZY-Player-1.0.4.AppImage 文件,安装过程中出现了问题。
  1. xiamingyu[url=home.php?mod=space&uid=234]@Linux[/url]  ~/Downloads ./2020-05-23-10-33-33-download-ZY-Player-1.0.4.AppImage
  2. [10026:0523/105212.858068: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_2020-08zHxqb/chrome-sandbox is owned by root and has mode 4755.
  3. [1]    10026 trace trap  ./2020-05-23-10-33-33-download-ZY-Player-1.0.4.AppImag
Copy the Code
  1. xiamingyu@Linux ~/Downloads  sudo chmod 4755 /tmp/.mount_2020-0gP1YxP/chrome-sandbox
  2. chmod: 无法访问'/tmp/.mount_2020-0gP1YxP/chrome-sandbox': 没有那个文件或目录
Copy the Code
经查询找到了“启用用户名称空间”和“运行的时候加上免沙箱命令”两种方法。想请教一下这两种方法孰优孰劣,有没有更为妥当的解决方案。


Reply Favorite View the author
All Replies
avatar
xiamingyu
deepin
2020-05-23 19:28
#1
Reply View the author
Comments
wnmer
2020-05-23 20:25
你的配图和signature很牛X
avatar
jerry979
deepin
2020-05-23 19:50
#2
我用的是运行的时候加上免沙箱命令。在命令后面加入 --no-sandbox。不过听说这样不安全。但安全的办法太麻烦了(github 上有issue说明,大概是把appimage文件解压之后做操作),所以我就用这种不安全的办法。我猜沙箱大概是一个隔离环境,如果有人在appimage中放了恶意程序,当然不安全。不过我都是在github下载appimage的,不怕这种漏洞。

这是上游debian10 的bug。最佳办法是等debian10解决

Reply View the author
avatar
xiamingyu
deepin
2020-05-23 19:53
#3
https://bbs.deepin.org/post/194920
我用的是运行的时候加上免沙箱命令。在命令后面加入 --no-sandbox。不过听说这样不安全。但安全的办法太麻 ...

学到了,谢谢你
Reply View the author