This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: RFC: 1.7.33 problem with user's home directory
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 04 Dec 2014 04:20:51 -0800
- Subject: Re: RFC: 1.7.33 problem with user's home directory
- Authentication-results: sourceware.org; auth=none
- References: <20141110205216 dot GJ2782 at calimero dot vinschen dot de> <0B8D23F7-0258-472D-BF38-860402FD3CDC at etr-usa dot com> <20141111101821 dot GO2782 at calimero dot vinschen dot de> <loom dot 20141111T112847-576 at post dot gmane dot org> <20141111111437 dot GB28012 at calimero dot vinschen dot de> <20141126205658 dot GA9157 at calimero dot vinschen dot de> <20141127170042 dot GE3810 at calimero dot vinschen dot de> <8610043342 dot 20141128150810 at yandex dot ru> <20141128124814 dot GM3810 at calimero dot vinschen dot de> <5354135 dot 20141128190818 at yandex dot ru> <20141128163305 dot GN3810 at calimero dot vinschen dot de> <1601998502 dot 20141129012136 at yandex dot ru> <CABa6CEkyyae6GGxVSZ6MBP=-d_uq+Uu9qTZEtZfdVHa7KwOs=g at mail dot gmail dot com> <5710377370 dot 20141202082928 at yandex dot ru> <CABa6CEnWihyzxbwydndnLhg9aAfok0iQE7MX+FaMaJ4ewmxCPQ at mail dot gmail dot com> <352663012 dot 20141203231050 at yandex dot ru>
Andrey Repin wrote:
Greetings, cyg Simple!
Don't forget that CMD will not create a second connection to a
\\host\share if Cygwin already has one open.
What do you mean by that?
$ cd //somehost/someshare
$ cmd /c start cmd
cmd will complain about UNC paths and start in %WINDIR% instead.
----
Try it the other way around. You'll get the same result.
It has nothing to do with cygwin opening it first. It has
to do with cmd not handling a "\\network\share" style address.
MS was too lazy to deal with command.com's "1-CurDir / drive"
scenario that is embedded in the Win32 interface. If you cd to
//host/<currentdir>, //host isn't a drive letter.
So what happens when the user uses an absolute path? "/tmp"...
where is that /tmp? Ends up at the root of each drive, but on
a UNC-based-net-connection? Undefined. So cmd.exe can't be used
on a UNC-based path, only on DOS compatible (drive letter
assummed) based-path.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple