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

Make sure file generated by docker-gen has the right permissions #308

Conversation

NicolasDorier
Copy link
Contributor

If the destination file does not exists, the permissions become 600 because this is the default permission for temp files.

This is problematic, if the container consuming the destination file does not run as root.

Instead, the default permissions should be used (as per umask).
This PR will make permission 644, which is generally what we want. And if the container consuming it is not happy with it, it always can override the permissions.

@gamma
Copy link

gamma commented Jun 15, 2021

This issue is still open, right?

@buchdag
Copy link
Member

buchdag commented Jun 15, 2021

I'm going to close then re-open this PR to trigger the tests.

@buchdag buchdag closed this Jun 15, 2021
@buchdag buchdag reopened this Jun 15, 2021
@buchdag
Copy link
Member

buchdag commented Jun 15, 2021

Ack, crap, I forgot this repo was still using Travis CI.

@buchdag
Copy link
Member

buchdag commented Jun 15, 2021

Merged in #352

@buchdag buchdag closed this Jun 15, 2021
@gamma
Copy link

gamma commented Jun 15, 2021

Thanks!!!

@buchdag
Copy link
Member

buchdag commented Jun 15, 2021

If you have other Issues / PR of interest in mind don't hesitate to tag me, I've been mostly focusing my efforts on nginx-proxy.

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

Successfully merging this pull request may close these issues.

3 participants