Skip to content

mktemp: permission denied error strip #13720

Description

@Devel08

the error code should be stripped from the OS error

$ cargo run mktemp -p /
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/coreutils mktemp -p /`
mktemp: Permission denied (os error 13) at path "/tmp.haKXBI6xNU"

changes should be done here:

Err(e) => Err(e.into()),

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions