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

Change vscode user in remote-WSL #3631

Closed
phewdry opened this issue Sep 5, 2020 · 1 comment
Closed

Change vscode user in remote-WSL #3631

phewdry opened this issue Sep 5, 2020 · 1 comment
Labels
wsl Issue in vscode-remote WSL

Comments

@phewdry
Copy link

phewdry commented Sep 5, 2020

Issue Type: Bug

1)Open wsl folder in /home/defaultuser

  1. Edit other user files through /home/otheruser

  2. (NoPermissions (FileSystemError): Error: EACCES: permission denied

Extension version: 0.44.5
VS Code version: Code 1.48.2 (a0479759d6e9ea56afa657e454193f72aef85bd0, 2020-08-25T10:13:11.295Z)
OS version: Windows_NT x64 10.0.20197
Remote OS version: Linux x64 4.19.104-microsoft-standard

System Info
Item Value
CPUs Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz (4 x 1190)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.81GB (0.32GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-18.04
OS Linux x64 4.19.104-microsoft-standard
CPUs Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz (4 x 1190)
Memory (System) 3.74GB (0.24GB free)
VM 0%
@github-actions github-actions bot added the wsl Issue in vscode-remote WSL label Sep 5, 2020
@aeschli
Copy link
Contributor

aeschli commented Sep 9, 2020

Do you mean `Save as Admin' ? #1688

To start the remote window as a different user, you must change the wsl default user. See https://docs.microsoft.com/en-us/windows/wsl/wsl-config#change-the-default-user-for-a-distribution

@aeschli aeschli closed this as completed Sep 9, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wsl Issue in vscode-remote WSL
Projects
None yet
Development

No branches or pull requests

2 participants