linux环境运行electron报chrome-sandbox错误解决办法

时间:2021-06-29 22:58:45   收藏:0   阅读:142

linux运行electron报如下错误:

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/user/Desktop/aep/source/build/linux-unpacked/chrome-sandbox is owned by root and has mode 4755.

使用以下命令解决:

sudo chown root chrome-sandbox && sudo chmod 4755 chrome-sandbox

原文:https://www.cnblogs.com/guanglin/p/14950126.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!