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

dockerfile: heredoc should use 0644 permissions #3992

Merged
merged 1 commit into from Jul 6, 2023

Conversation

jedevc
Copy link
Member

@jedevc jedevc commented Jul 5, 2023

🛠️ Fixes #3889

Previously, it appears the permissions were 0664, which seems to be a typo of the above - there's no real reason for these permissions to be higher, so we can bring them down to be consistent with everywhere else we create files.

Previously, it appears the permissions were 0664, which seems to be a
typo of the above - there's no real reason for these permissions to be
higher, so we can bring them down to be consistent with everywhere else
we create files.

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc requested a review from tonistiigi July 5, 2023 10:43
@tonistiigi
Copy link
Member

This doesn't technically fix the #3889 issue for all cases as the real issue is that Moby behavior is not stable and depends on the daemon umask settings. Still, I think it is correct to update it.

@tonistiigi tonistiigi merged commit f9a6b54 into moby:master Jul 6, 2023
54 checks passed
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.

COPY << heredoc uses different default file mode between docker and docker-container builder
2 participants