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: fs::create_dir mode #223

Merged
merged 1 commit into from
Feb 4, 2023

Conversation

FrankReh
Copy link
Collaborator

@FrankReh FrankReh commented Feb 4, 2023

The io-uring MkDirAt defaults to creating directories with mode 0.

Fix our fs::create_dir, which calls that, to pass a mode of 0o777.

A DirBuilder that allows setting the mode is coming shortly.

The io-uring MkDirAt defaults to creating directories with mode 0.

Fix our fs::create_dir to use a mode of 0o777.

A DirBuilder that allows setting the mode is coming shortly.
@FrankReh FrankReh requested a review from Noah-Kennedy February 4, 2023 15:17
@FrankReh FrankReh merged commit 1f5dd37 into tokio-rs:master Feb 4, 2023
@FrankReh FrankReh deleted the frankreh/fix-create_dir-mode branch February 4, 2023 20:53
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.

2 participants