首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without s

The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without s

作者头像
云未归来
发布2025-07-16 18:57:34
发布2025-07-16 18:57:34
1560
举报

问题报错:

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/fut/AnythingLLMDesktop/anythingllm-desktop/chrome-sandbox is owned by root and has mode 4755

解决方法:

问题产生 在Linux版AppImage的时候,打开无反应,使用命令行运行,出现了下面的报错信息:

linux:

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_AnotheUExhKn/chrome-sandbox is owned by root and has mode 4755.

部分解决 只要将给出的chrome-sandbox文件给予root用户并赋予4755权限,重新点击运行即可。

sudo chown root <path_to_marktext_dir>/chrome-sandbox && sudo chmod 4755 <path_to_marktext_dir>/chrome-sandbox

该问题为使用Electron给软件打包时产生的错误,是Linux内核的user_namespaces没有自动打开的问题。

解决方案 解决的办法有四种,第四种解决方法,一劳永逸。

1、启用用户名称空间: sudo sysctl kernel.unprivileged_userns_clone=1,但每次开机都要运行该命令。 2、给报错信息给出的文件授权:sudo chown root /chrome-sandbox && sudo chmod 4755 /chrome-sandbox,即解决网易云音乐该问题时的操作,但不适用于picgo。 3、运行的时候加上免沙箱命令:--no-sandbox 4、开机时自启动用户名称空间:echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf 该命令只适用于Debian/Ubuntu系列Linux发行版,未测试其他发行版。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2025-02-07,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档