Sitelet https://web.archive.org/web/20220213024522/https://github.com/microsoft/vscode/pull/137125
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

seems root requires --no-sandbox #137125

Merged
merged 1 commit into from Feb 10, 2022
Merged

seems root requires --no-sandbox #137125

merged 1 commit into from Feb 10, 2022

Conversation

@divinity76
Copy link
Contributor

@divinity76 divinity76 commented Nov 13, 2021

at least on my system (Ubuntu 20.04, uname 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux)
the command: sudo /usr/bin/code --user-data-dir=/root/vscode/datadir
does seemingly nothing, just returns 0 immediately, while
the command: sudo /usr/bin/code --user-data-dir=/root/vscode/datadir --no-sandbox
starts vscode... why? i don't know, but i'm now running 1.62.2 and it's been this way since at least 1.60.x (if not earlier)

@bpasero bpasero removed their assignment Nov 15, 2021
@deepak1556
Copy link
Contributor

@deepak1556 deepak1556 commented Feb 10, 2022

Yes this a known side effect of enabling runtime sandbox https://code.visualstudio.com/updates/v1_59#_progress-for-electron-sandbox-support

at least on my system (Ubuntu 20.04, uname 5.4.0-88-generic microsoft#99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux)
the command: sudo /usr/bin/code --user-data-dir=/root/vscode/datadir
does seemingly _nothing_, just returns 0 immediately, while
the command: sudo /usr/bin/code --user-data-dir=/root/vscode/datadir --no-sandbox
starts vscode... why? i don't know
@deepak1556 deepak1556 added this to the February 2022 milestone Feb 10, 2022
@deepak1556 deepak1556 merged commit 84ecd33 into microsoft:main Feb 10, 2022
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants