Skip to content
This repository has been archived by the owner on Jun 1, 2018. It is now read-only.

Fix permission for mitmproxy directory #8

Merged
merged 1 commit into from
Nov 22, 2016

Conversation

maxcnunes
Copy link
Contributor

Fix issue #6.

This approach is the same used by official Docker images such as mysql and postgres.

Running the container with any mitmproxy tool it will set the required permissions for
mitmproxy directory and run the process also with the mitmproxy user.

Otherwise it will run the passed arg with the root user. Which allows the user to
test the container with any command. Just will not set the directory permission running this way.

Fix issue mitmproxy#6.

This approach is the same used by official Docker images such as mysql and postgres.

Running the container with any mitmproxy tool it will set the required permissions for
mitmproxy directory and run the process also with the mitmproxy user.

Otherwise it will run the passed arg with the root user. Which allows the user to
test the container with any command. Just will not set the directory permission running this way.
@mhils
Copy link
Member

mhils commented Nov 22, 2016

Sorry, this apparently got lost within the emails for the main repo! Thanks so much for this - this looks fantastic and I'll include it in the next release ASAP. 😃 🍰 🎉

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

Successfully merging this pull request may close these issues.

None yet

2 participants