Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

WSL - Cannot Install VSCode Extensions, Permission Denied, rename

$
0
0

I'm currently trying to install the C++ Extension Pack onto VSCode opened from my WSL User. I tried installing the pack from my main user using the command code --install-extension ms-vscode.cpptools-extension-pack-1.3.0.vsix. However, I am getting the following error:

Error: EACCES: permission denied, rename '/home/blooome/.vscode-server/extensions/.c7a2d5a4-07a4-4350-9fc6-c91d1b681f0b' -> '/home/blooome/.vscode-server/extensions/ms-vscode.cpptools-themes-2.0.0'    at async Object.rename (node:internal/fs/promises:782:10)    at async Object.MR (file:///home/blooome/.vscode-server/bin/e54c774e0add60467559eb0d1e229c6452cf8447/out/server-main.js:43:5436)    at async Hh.G (file:///home/blooome/.vscode-server/bin/e54c774e0add60467559eb0d1e229c6452cf8447/out/server-main.js:55:24522)    at async Hh.extractUserExtension (file:///home/blooome/.vscode-server/bin/e54c774e0add60467559eb0d1e229c6452cf8447/out/server-main.js:55:21627)    at async Kc.tb (file:///home/blooome/.vscode-server/bin/e54c774e0add60467559eb0d1e229c6452cf8447/out/server-main.js:55:15335) {  code: 'Rename',  name: 'Rename'}Node.js v20.18.1

I am quite new to Ubuntu, and Linux as a whole. I have no idea what this means. From what I'm reading, this has to do something with folder permissions. However, I made sure to recursively change folder ownership by running sudo chown -R blooome .vscode-server, which didn't fix the issue.


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>