Getting EACCES: permission denied, open '/verdaccio/storage/@asyncapi/html-template/package.json.tmp4446934159360625' #4450
Answered
by
caoxiemeihao
AayushSaini101
asked this question in
Q&A
-
|
Your Environment
Describe the bug:
Folder Structure:
Dockerfile: docker-compose.yml I also checked this issue #336 (comment) . and have done the same thing still getting error Contribute to Verdaccio
|
Beta Was this translation helpful? Give feedback.
Answered by
caoxiemeihao
Jun 14, 2024
Replies: 2 comments 1 reply
-
|
@juanpicado Sir can you please check this issue, i am facing from last 4 days |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mbtools
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


This is caused by starting the docker container (verdaccio) with root user privileges on the host and mounting a folder belonging to the root user. Because the user in the container (verdaccio) is
verdaccio, it does not have permission to access the directory of therootuser.We can change the ownership of the folder on the host to the docker container (verdaccio).