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

Specify mode when copying files/content to container #600

Closed
cristianrgreco opened this issue Jul 12, 2023 · 2 comments · Fixed by #604
Closed

Specify mode when copying files/content to container #600

cristianrgreco opened this issue Jul 12, 2023 · 2 comments · Fixed by #604
Labels
enhancement New feature or request

Comments

@cristianrgreco
Copy link
Collaborator

cristianrgreco commented Jul 12, 2023

tc-java example https://github.com/testcontainers/testcontainers-java/blob/2f8c326d20783bf89722a17ba659aaeb1f720ec7/examples/sftp/src/test/java/org/example/SftpContainerTest.java#L24

@mutantcornholio
Copy link

Specifying owner/group could also be helpful

@cristianrgreco cristianrgreco changed the title Specify permissions when copying files/content to container Specify mode when copying files/content to container Jul 13, 2023
@cristianrgreco
Copy link
Collaborator Author

cristianrgreco commented Jul 13, 2023

@mutantcornholio The attached PR supports setting file permissions when copying files to a container. I've created a separate issue for setting ownership when copying files to a container #605

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

Successfully merging a pull request may close this issue.

2 participants