Skip to content

std::fs::create_dir* should take permissions #22415

Closed
@aturon

Description

@aturon

The new fs module does not provide a way to create a directly with given permissions, which is especially painful for create_dir_all. It should.

The RFC specified that these functions should resemble those in old_io except for a generic bound, so it's not clear why the permission argument was droppped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions