Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 1995 17:45:43 +1000 (EST)
From:      michael butler <imb@scgt.oz.au>
To:        bde@zeta.org.au (Bruce Evans)
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:  <199507080745.RAA17990@asstdc.scgt.oz.au>
In-Reply-To: <199507060128.LAA21203@godzilla.zeta.org.au> from "Bruce Evans" at Jul 6, 95 11:28:28 am

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes:

> >	"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.

The problem is more widespread .. "rmdir foo/" fails and complains of "foo
is a directory" (!) and "rm -rf foo/" does likewise,

	michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507080745.RAA17990>