Cygwin: mkdir fails on UNC pathnames (FAQ alert)

Christopher Faylor cgf@redhat.com
Thu Jun 21 09:25:00 GMT 2001


On Thu, Jun 21, 2001 at 01:38:48PM +0100, David Starks-Browning wrote:
>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!

I would like to suggest that before people suggest that things be
added to the FAQ that they actually CHECK the FAQ before making
the suggestion.  SIgh.

Oh, wait, that was me.

cgf

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



More information about the Cygwin mailing list