我正在安裝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