Skip to content

Automatic Update to 3.2.0 fails with EACCES: permission denied... #1622

Closed
@luisjakon

Description

@luisjakon

I am using the try command as per the github page:

$ docker run -it -p 8080:8080 -v "$PWD:/home/coder/project" \ 
-u "$(id -u):$(id -g)" codercom/code-server:latest

However, I am then presented with an update prompt for 3.2.0...but when I click on it, I get the following error:

"EACCES: permission denied, rename '/usr/lib/code-server' -> '/usr/lib/code-server.1589216663446'"

I see the /usr/lib directory is owned by root:root but even if I manually chown it to coder:users it fails to update...

I am on Linux Docker version 18.09.8

Is there a solution for this? Many Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions