-
Notifications
You must be signed in to change notification settings - Fork 14
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
post-install.sh uses chown, which no longer exists #39
Comments
@hazcod I have commented in that commit. It is being deleted further down in the |
Oof, good catch. Fixed in 612ff8f |
@hazcod Thanks for that. Last question, should |
That's a very good point, I've added it in 6c71848 |
@hazcod, so I tested your latest change in 6c71848 and it didn't work for me. This is because
Now, even though you fix that, there is still the matter of the busybox binary still existing, which means if an unauthorized user gets access to the shell, they can still execute Would love to hear your thoughts on this. Thank you. |
@hazcod, just wanted to check in to see if you have any thoughts about my comment above. Thank you. 🙂 |
Hmm, very good point @sidm1983 . I'm thinking about chmodding |
I've opened up #42 for work around this. |
Yeah not sure about the implications either. What user is 000? |
Correction, I meant |
Ah yup, I had a feeling that's what you meant. That could make it hard to do basic troubleshooting on the final docker image. 🤔 |
Hi, I noticed that the Dockerfile removes a bunch of dangerous commands including
chown
, but then the post-install.sh script tries to run achown
command on all the app files. Obviously, the command errors out with achown: not found
error message. Is this an issue or am I missing something?The text was updated successfully, but these errors were encountered: