Skip to content

fix: Add default file permission (755 for image build)#1176

Merged
HofmeisterAn merged 1 commit into
developfrom
bugfix/1171-apply-default-permissions
May 13, 2024
Merged

fix: Add default file permission (755 for image build)#1176
HofmeisterAn merged 1 commit into
developfrom
bugfix/1171-apply-default-permissions

Conversation

@HofmeisterAn

Copy link
Copy Markdown
Collaborator

What does this PR do?

Applies the default file permission (755) in the tarball that is later sent to the Docker daemon to build the image.

Why is it important?

Without setting the default permissions on Windows test hosts, the relevant ENTRYPOINT and CMD commands may not be able to access (read) files from the working directory (if the user context changes).

Related issues

@HofmeisterAn HofmeisterAn added the bug Something isn't working label May 13, 2024
@netlify

netlify Bot commented May 13, 2024

Copy link
Copy Markdown

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 616b77e
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/664231c536d864000859f489
😎 Deploy Preview https://deploy-preview-1176--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@HofmeisterAn
HofmeisterAn merged commit 4d791f4 into develop May 13, 2024
@HofmeisterAn
HofmeisterAn deleted the bugfix/1171-apply-default-permissions branch May 13, 2024 17:54
@danielcrabtree

Copy link
Copy Markdown

Looks good to me. Thanks for getting this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: .NET 8 Container Permissions Changed Breaking Non-Root App User

2 participants