-
Notifications
You must be signed in to change notification settings - Fork 392
Open
Description
Type: Bug
- Set the remoteUser to a non root user or have the default user set to a non root user
- Follow the offical guide on building and patching the vscode server https://github.com/microsoft/vscode-docs/blob/main/docs/remote/faq.md#can-i-run-vs-code-server-on-older-linux-distributions
- This makes the patching fail due to the following error: "patchelf: open: Permission denied"
I believe this issue is comming from the fact that the vscode volume is the one being directly patched instead of the linked one in the home folder. The /vscode folder is being owned by root and unless run as sudo it cannot be patched.
I have tested that changing the user to root makes it work. I have tried multiple ways of chown'ing on the /vscode folder in the remote ("postcreate" etc) but i have not been successful with it.
Extension version: 0.120.0
VS Code version: Code 1.102.3 (488a1f239235055e34e673291fb8d8c810886f81, 2025-07-29T03:00:23.339Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2
Metadata
Metadata
Assignees
Labels
No labels