部分用戶在Linux上運行VSCode提示grep: /proc/version: 權限不夠
grep: /proc/version: 權限不夠
You are trying to start Visual Studio Code as a super user which isn’t recommended. If this was intended, please add the argument --no-sandbox
and specify an alternate user data directory using the --user-data-dir
argument.
VSCode默認不支持root用戶啟動,如果需要使用root用戶啟動,需在啟動命令中加上--no-sandbox
/usr/share/code/code --no-sandbox --unity-launch