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

Permission Denied Error when I install CodeLLDB Extension in VSCode #5

Closed
minseongg opened this issue Mar 17, 2020 · 8 comments · Fixed by #6
Closed

Permission Denied Error when I install CodeLLDB Extension in VSCode #5

minseongg opened this issue Mar 17, 2020 · 8 comments · Fixed by #6

Comments

@minseongg
Copy link
Member

minseongg commented Mar 17, 2020

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?

@jeehoonkang
Copy link
Member

I just fixed something. Would you please retry?

@minseongg
Copy link
Member Author

Sorry.. same error occured when I uninstalled CodeLLDB Extension and reinstall it.

@jeehoonkang
Copy link
Member

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.

@jeehoonkang
Copy link
Member

@minseongg
Copy link
Member Author

Thanks! Now Extension installed successfully.

@Reinose
Copy link

Reinose commented Mar 17, 2020

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.

@jeehoonkang
Copy link
Member

@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.

@KAIST-JongchanPark
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants