Automatic Update to 3.2.0 fails with EACCES: permission denied...
See original GitHub issueI 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!
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
npm install globally failing (Error: EACCES: permission denied ...
Describe the bug I am having trouble installing this package globally. I run the following: sudo npm i -g @aws-amplify/cli and get the ......
Read more >Why do I get a "permission denied" error while installing a gem?
It was a permissions issue for us as well, while trying gem update —system but we had to go through the /usr/local/rvm/rubies directory...
Read more >3.2 Release Build - Permission Denied Error on client console
it is a permission issue. Fair enough for libjansi. My assumption was that the permission error was the Error indicated on the console....
Read more >AWX docker images build error for Kubernetes - Google Groups
I am running into following error during 'Build AWX distribution using container' step, kind of lost here since we do have npm and...
Read more >tidyverse cannot be called because of "cli" (Permission denied)
I recently updated multiple packages but even via R i get permission denied for "cli". That just caused a problem using the tidyverse...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you want to do this while using a docker-compose file use this:
You should be able to add it to the end of the command like so: