adduser command Error :'verdaccio/conf/htpasswd' permission denied
See original GitHub issueI pull this image and run it . after i run this image , i can access to the page via a browser. But I can’t adduser to the command line I gave the file all permissions and gave a 100:101 grouping But the problem still exists
my docker run command :
docker run -it --rm --name verdaccio \
-p 4873:4873 \
-v /usr/verdaccio/conf:/verdaccio/conf \
-v /usr/verdaccio/storage:/verdaccio/storage \
-v /usr/verdaccio/plugins:/verdaccio/plugins \
verdaccio/verdaccio
When I use the adduser
command, I enter the email address and the command line interface is stuck.
I used the docker logs verdaccio
command to view the logs and found the following error message:
Trace--- the user yangkesi could not be added. Error: { message:
'EACCES: permission denied, open \'/verdaccio/conf/htpasswd\'',
Name: 'Error',
Stack:
'Error: EACCES: permission denied, open \'/verdaccio/conf/htpasswd\'',
Code: 'EACCES',
Signal: undefined }
Error--- unexpected error: EACCES: permission denied, open '/verdaccio/conf/htpasswd'
Error: EACCES: permission denied, open '/verdaccio/conf/htpasswd'
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Why useradd shows Permission denied error
The command useradd needs some special privilege to modify the system settings. Hence, you get a permission denied when using it as a...
Read more >Problem with adduser, permission denied (publickey).
After creating a user (logged in as root) and trying to log in, I get “permission denied (publickey).”
Read more >Error when creating a new user - home directory - Ask Ubuntu
The command sudo adduser bob returned a Couldn't create home directory `/home/bob': Permission denied error message because you are already ...
Read more >Permission Denied on UserAdd command shell script started ...
The mkdir command works as expected. But the useradd command retrieves a 'permission denied' error even if I explicitly decleared in sudoers ...
Read more >Permission Denied When Creating Directory or Writing a File
Overview If you receive an error telling you that you do not have permissions to create a directory or to write a file...
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
This may help:
@ishowman host machine