Cygwin: mkdir fails on UNC pathnames (FAQ alert)

David Starks-Browning starksb@ebi.ac.uk
Thu Jun 21 05:39:00 GMT 2001


On Thursday 21 Jun 01, Andrej Borsenkow writes:
> > > -----Original Message-----
> > > From: Christopher Faylor [ mailto:cgf@redhat.com ]
> > >
> > > Robert could you add this to the FAQ?  GNU mkdir doesn't
> > > understand UNC
> > > paths.
> > >
> > > cgf
> > >
> 
> It is not quite right. You can do 'mkdir //server/share/path' but you cannot
> do 'mkdir -p //server/share/path'. The reason is, mkdir -p checks if all
> components exist and it fails for the first one, because //server is not a
> directory.

Oh, I see.  In that case, it's already in the FAQ:

	"Why doesn't `mkdir -p' work on a network share?"

Nice try, Jim.  By the way, your shoe's untied!  Doh!

David


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list