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

Can not install VS Code extension due to a permission problem #23285

Open
RomanNikitenko opened this issue Dec 13, 2024 · 2 comments
Open

Can not install VS Code extension due to a permission problem #23285

RomanNikitenko opened this issue Dec 13, 2024 · 2 comments
Labels
area/editors kind/bug Outline of a bug - must adhere to the bug report template. severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.

Comments

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Dec 13, 2024

Describe the bug

I faced the following error when I tried to install JFrog extension for the Go Runtime stack:

Activating extension 'JFrog.jfrog-vscode-extension' failed: EACCES: permission denied, mkdir '/opt/app-root/src/.jfrog-vscode-extension/issues/logs'.

Che version

7.96@latest

Steps to reproduce

  1. Create a workspace using Go Runtime sample
  2. Try to install JFrog extension

Expected behavior

The extension should be activated successfully

Runtime

I faced the problem on the dogfooding instance

Screenshots

image
@RomanNikitenko RomanNikitenko added the kind/bug Outline of a bug - must adhere to the bug report template. label Dec 13, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Dec 13, 2024
@tolusha
Copy link
Contributor

tolusha commented Dec 13, 2024

Try this.

  1. Open devfile in vscode and set env variable HOME=/home/user
  2. Restart a workspace from the local devfile

@akurinnoy akurinnoy added area/editors team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs. severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Dec 15, 2024
@akurinnoy
Copy link
Contributor

@tolusha, I have tried the workaround, and it works, thank you.

@RomanNikitenko I have assigned P3, but if you think that's too low, please assign the appropriate severity level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editors kind/bug Outline of a bug - must adhere to the bug report template. severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues. team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Projects
Status: No status
Development

No branches or pull requests

4 participants