Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛] Docker container fails due to permission issue #136

Closed
MichaelEischer opened this issue Oct 30, 2023 · 2 comments
Closed

[🐛] Docker container fails due to permission issue #136

MichaelEischer opened this issue Oct 30, 2023 · 2 comments
Labels

Comments

@MichaelEischer
Copy link

🐛 Bug report

Description

Running the docker container using docker run -ti --rm -v $(pwd):/data bkimminich/juice-shop-ctf:v10.0.1 results in an error:

sh: /juice-shop-ctf/bin/juice-shop-ctf.js: Permission denied

Manually running chmod +x /juice-shop-ctf/bin/juice-shop-ctf.js solves the problem.

Is this a regression?

Probably, but I didn't bisect it.

🔬 Minimal Reproduction

See below.

🔥 Exception or Error


$ docker run -ti --rm -v $(pwd):/data bkimminich/juice-shop-ctf:v10.0.1 /bin/sh
sh: /juice-shop-ctf/bin/juice-shop-ctf.js: Permission denied

🌳 Your Environment


v18.18.0
9.8.1

Additional Information

@github-actions
Copy link

Thanks a lot for opening your first issue with us! 🧡 We'll get back to you shortly! ⏳ If it was a Support Request, please check our extensive CTF manual first. Also, please consider asking on the community chat next time! 💬

@bkimminich
Copy link
Member

I can confirm that this problem seems to start occuring with v10.0.0. In v9.1.2 the error does not occur. The only change in the Dockerfile between those releases was switching the base images from NodeJS 14.x to 18.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants