Permission Denied Error when I install CodeLLDB Extension in VSCode
minseongg opened this issue · comments
When I install CodeLLDB Extenseion in VSCode, Permission Denied Error occured with below OUTPUT
Installing platform package from https://github.com/vadimcn/vscode-lldb/releases/download/v1.5.0/codelldb-x86_64-linux.vsix
Error: Error: EACCES: permission denied, open '/tmp/vscode-lldb-full.vsix'
May I ask how to solve it?
I just fixed something. Would you please retry?
Sorry.. same error occured when I uninstalled CodeLLDB Extension and reinstall it.
Sorry, I cannot reproduce the bug... Please send me and TA an email that contains your student ID so that we can look into your account.
- It seems a well-known strangeness of VSCode... Here's a workaround.
- Download this file at the server: https://github.com/vadimcn/vscode-lldb/releases/download/v1.5.0/codelldb-x86_64-linux.vsix
- Install it: https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix
Thanks! Now Extension installed successfully.
I think the problem is due to the /tmp/vscode-lldb-full.vsix
in the server, whose sha1sum is exactly same to the one's that @jeehoonkang provided.
Since its ownership is root:root and it does not allow others to overwrite, it seems to be solved by removing the file from the given server.
@Reinose thanks for the analysis. but I think it's dangerous to give write permission to students, because it may introduce security vulnerability. Please follow the workaround written in the README.
@jeehoonkang For installing manually, I think there is easier way with GUI. Here is for link, https://stackoverflow.com/questions/42017617/how-to-install-vs-code-extension-manually