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:
the error code should be stripped from the OS error
changes should be done here:
coreutils/src/uu/mktemp/src/mktemp.rs
Line 602 in b13ee7a