Skip to content

Permissions in std::tempfile::mkdtemp #2349

Closed
@catamorphism

Description

@catamorphism

There's a comment in std::tempfile::mkdtemp that says "FIXME: u+rwx". I assume the idea here is to set the r, w and x bits for U to 1 and leave other bits unchanged from the default, rather than setting the permissions for the new directory to a fixed bit pattern. But I don't really know the details of how permissions bits work, so I'm filing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions