Skip to content

[FEAT] Add support for running code-server as the user root #193

@itisFarzin

Description

@itisFarzin

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Add an environment variable to allow users to run code-server as root.

Reason for change

I have a weird setup that requires to run code-server as root (to access a volume).
If I change the user from abc to root in /etc/s6-overlay/s6-rc.d/svc-code-server/run, I can access the files on the volume fine.
Could you add an environment variable to help resolve this issue?

Proposed code change

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions