Date: Thu, 6 Jul 1995 11:28:28 +1000 From: Bruce Evans <bde@zeta.org.au> To: hohmuth@inf.tu-dresden.de Cc: current@freebsd.org Subject: Re: bin/594: "mkdir -p some/path/" fails to create last path component when path has trailing slash Message-ID: <199507060128.LAA21203@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> "mkdir -p some/path/" fails to create last path component when > path has trailing slash Note that ordinary mkdir(1) and mkdir(2) also fail to create "foo/" although POSIX specifies that paths to directories may have an optional trailing slash. I had this fixed in 1.1.5. There is an old PR about it. mkdir -p "foo/" has the additional bug that it exits with status 0 after failing to create "foo/". Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507060128.LAA21203>