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

Fix permissions on mock config copied into container #1072

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Oct 18, 2024

The permissions of this file in the container need to allow o+x. The COPY directive will preserve the mode, which may not have o+x depending on the host's umask and other factors.

Best to be explicit here, and specifically set the mode we want. Note that newer COPY directives can set the mode during the operation, but I'm not sure which platforms or versions support that newer syntax.

@cottsay cottsay added the bug label Oct 18, 2024
@cottsay cottsay self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant