我正在安装Unity。 Unity安装程序说它必须以root身份运行,这是因为Chromium Embedded Framework必须以root身份运行。为什么必须以root身份运行Chromium嵌入式框架?为什么必须以root身份运行Chromium Embedded Framework? (Unity安装程序)
Unity安装程序指向我here,但该页面未提及根权限。
这里是控制台输出,为后人:
[email protected]:unity(0)\ ./unity-editor-installer-5.4.0b23+20160628.sh
This installer must be run as root.
以及相关的代码片段从安装程序:
# chrome-sandbox requires this: https://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
chown root "${EXTRACT_SUBDIR}/Editor/chrome-sandbox"
chmod 4755 "${EXTRACT_SUBDIR}/Editor/chrome-sandbox"
编辑7月15日:发现this thread。有人可以帮助确认chrome-sandbox不再需要root用户和SUID吗?
我按these instructions建设,但是当我运行cros_sdk时仍然要求输入root密码。
大多数应用程序可以作为普通用户编译和运行。 Unity安装程序只是将Unity提取到一个子目录中。为什么chrome-sandbox需要由root拥有并且设置了SUID? – jcarpenter2