code . does not start the IDE window from inside a nix-shell. The command just exits. If you run with the verbose flag then you get the message below.
However code serve-web does and can be accessed in a local browser.
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -p vscode
code --verbose .
message says:
[138591:0908/175051.634234: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 /nix/store/49bikavxb70qyymsnblgmp3ddcmxy81x-vscode-1.92.2/lib/vscode/chrome-sandbox is owned by root and has mode 4755.
If you do a sudo chmod 4755 ... as per the instructions, then code . works as normal
Expected behavior
A clear and concise description of what you expected to happen.
It should have worked without me having to do the intermediate chmod command.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@eadwu @synthetica @bobby285271 @Enzime
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Describe the bug
code .
does not start the IDE window from inside a nix-shell. The command just exits. If you run with the verbose flag then you get the message below.However
code serve-web
does and can be accessed in a local browser.Steps To Reproduce
Steps to reproduce the behavior:
sudo chmod 4755 ...
as per the instructions, thencode .
works as normalExpected behavior
A clear and concise description of what you expected to happen.
It should have worked without me having to do the intermediate
chmod
command.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@eadwu @synthetica @bobby285271 @Enzime
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.