Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Another Sudo User Can Not Install Extensions #7358

Closed
Labels
bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer
@navidbakhtiary

Description

@navidbakhtiary

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome & Edge
  • Local OS: Windows
  • Remote OS: Ubuntu
  • Remote Architecture: x64
  • code-server --version: 1.95.3

Steps to Reproduce

Running code-server by another sudo user(not root) does not allow for the installation of extensions and shows error 403 on the UI.
Runcode-server --install-extension extension_id with or without sudo by the user, installs the extensions in/root/.local/share/code-server/extensions.
The only way is to change the owner of~/.local/share/code-server/extensions and install the extension by importing the.vsix file. Still get error 403 with changing the owner.

Expected

I run code-server as another sudo user and I was expected to install extensions through UI easily.

Actual

It gives me error 403 on the UI and does not allow me to install any extension.

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

No, this works as expected in native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp