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

Set Umask to 0 upon execution #3992

Closed
wants to merge 2 commits into from

Conversation

jakecorrenti
Copy link

Sets the Umask to 0 first thing runc begins execution. If the Umask is not set properly, doTmpfsCopyUp in libcontainer/rootfs_linux.go does not behave as intended.

Fixes: #3991

Sets the Umask to 0 first thing runc begins execution. If the Umask is
not set properly, `doTmpfsCopyUp` in `libcontainer/rootfs_linux.go` does not
behave as intended.

Fixes: opencontainers#3991

Signed-off-by: Jake Correnti <[email protected]>
@jakecorrenti
Copy link
Author

cc @giuseppe

@cyphar
Copy link
Member

cyphar commented Oct 4, 2023

Tbh I prefer #4039, which I've just merged. Thanks for the patch, though!

@cyphar cyphar closed this Oct 4, 2023
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.

Wrong directory permissions when using tmpcopyup because of umask
2 participants