install_mkdir

Diagnostic `nanook::cli::install_mkdir`

Summary

failed to create directory `{0}`

Help

the parent path is not writable : pick a different --to

Details

When this fires

nanook install tried to create_dir_all the destination's parent and got an IO error. Happens when --to points somewhere whose parent path isn't writable, when an intermediate component is actually a file (not a dir), or when SELinux/AppArmor blocks the mkdir.

What to check

Pick a destination whose parent you own (~/.local/bin), or run under sudo for system dirs.

mkdir -p ~/.local/bin
nanook install --to ~/.local/bin