But how does the latter scenario differ
But how does the latter scenario differ from one where `mktemp` is invoked without `-u`? Even if the file is created (as opposed to just the name), nothing prevents another process from writing to the same file once it has been created.