question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: EACCES: permission denied

See original GitHub issue
[root@localhost ~]# docker run -t -p 127.0.0.1:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
Unable to find image 'codercom/code-server:latest' locally
Trying to pull repository docker.io/codercom/code-server ... 
latest: Pulling from docker.io/codercom/code-server
e58ad9fd24ca: Pull complete 
0a4c669d2dea: Pull complete 
ab60767ef52b: Pull complete 
8cc3b738fbea: Pull complete 
4a49f00acafc: Pull complete 
15aff5fdd28f: Pull complete 
1a344d81f432: Pull complete 
f079d5b4236e: Pull complete 
Digest: sha256:d96615907185d67fcc75655eef3eee28399efb968aaa5e1dc319fa064db3fb08
Status: Downloaded newer image for docker.io/codercom/code-server:latest
ERROR { Error: EACCES: permission denied, mkdir '/root/project/code-server'
  [stack]: 'Error: EACCES: permission denied, mkdir \'/root/project/code-server\'',
  [message]: 'EACCES: permission denied, mkdir \'/root/project/code-server\'',
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/root/project/code-server' }
free(): invalid pointer

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
jarbsonsantanacommented, Oct 25, 2021

You must give permissions to the group: coder

  1. Enter the container docker exec -it app_name_1 bash
  2. Run: chown coder:coder /home/coder/project -R
  3. Try again.
4reactions
honzapospicommented, Oct 27, 2019

I have the seme problem and nothing help. Any progress?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: EACCES: permission denied - node.js - Stack Overflow
I run npm install lodash but it throws Error: EACCES: permission denied error. I know it is permission issue but as far as...
Read more >
Error: EACCES: permission denied with npm - How to fix
1. Checking version of npm and Node.js. We can use the following commands for this: · 2. Using a Node version manager to...
Read more >
Resolving EACCES permissions errors when installing ...
Resolving EACCES permissions errors when installing packages globally · Reinstall npm with a node version manager · Manually change npm's default directory.
Read more >
NPM Install - Resolving EACCES Permissions Denied
How to resolve eacces permissions denied when installing npm packages globally. Here's how you solve this issue in a couple of minutes.
Read more >
How to fix EACCES errors with NPM on MacOS - WILL & SKILL
Error : EACCES: permission denied, access '/usr/local/lib/node_modules/react-native-cli/node_modules/ansi-styles' npm ERR! { [Error: EACCES: permission ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found