Am Sat, Oct 28, 2023 at 01:48:07PM -0600 schrieb Randy Palamar: > This is a problem with mkdir in sbase. It probably shouldn't error out > when mkdir(3p) fails and sets errno to EEXIST or EISDIR. I'll send a > patch to hackers@ soon. > > - Randy >
That is one of the jobs of the -p switch to mkdir. However, without -p, mkdir is not allowed to ignore failure like that. Plus I didn't know mkdir could fail with EISDIR. My manpage is not documenting that case. Ciao, Markus