添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account
  • VSCode Version: 1.39.0-insider 9f6a745 (but also several recent insider builds)
  • OS Version: Linux x64 4.9.0-11-amd64 (Debian 9.11)
  • code-insiders complains about mode and owner of chrome-sandbox being incorrect and refrains from starting. Happens with any recent insiders build.

    Happes no matter what way of unpacking I come up with so the tarballs' internal may be broken.

    Didn't happen ever before and disables any users that don't have root on their machine from using those builds.

    Steps to Reproduce:

  • Download fresh .tar.gz (64bit Linux) from https://code.visualstudio.com/insiders/ , unpack to local machine.
  • Start code-insiders from terminal and observe terminal output:
  • $ ./code-insiders
    [15113:0924/095256.312581:FATAL:setuid_sandbox_host.cc(157)] 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 .../VSCode-linux-x64/chrome-sandbox is owned by root and has mode 4755.
    [1]    15113 trace trap (core dumped)  ./code-insiders
    

    where ls -lasays

    -rwxr-xr-x  1 mgritz Domain Users   5099032 Sep 12 02:54 chrome-sandbox
    -rwxr-xr-x  1 mgritz Domain Users 112526104 Sep 12 02:54 code-insiders
    

    Workaround (requires root): $ sudo chown root chrome-sandbox && sudo chmod 4755 chrome-sandbox

    There's actually another workaround, which is our recommendation since it's virtually impossible for us to fix this while distributing tarballs: simply add --no-sandbox when invoking the electron executable directly. We do this automatically when you invoke the CLI script.

    Workaround: use --no-sandbox.