kaist-cp / cs420

KAIST CS420: Compiler Design (2023 Spring)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

image

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.

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