Cygwin, Windows Shared Drive Access

Larry Hall (Cygwin)
Tue Mar 26 16:06:00 GMT 2013

On 3/26/2013 10:26 AM, mcforum wrote:
> A new Windows 7 32 system with a fresh install of CYGWIN can't see any mapped
> network or shared drives on my other systems.  On the older XP system IT tells
> me to replace and on another older Windows 7 32 system, CYGWIN could access all
> drives.  What am I missing in the install that enables access to those drives?

As I tried to convey (unsuccessfully) with your original inquiry on the
Cygwin-X list, there isn't a specific Cygwin package that you just install
to make this work.  But you could, of course, look at the list of packages
you have installed on both your new machine and old to make sure that you
have achieved package parity.  If you'd like to do this comparison, you can
use 'cygcheck -cd' to get the list from the new and old systems.  I don't
think doing this will help with the problem at hand but it may be useful
for other reasons.


> The shares don't seem to be shown anywhere on the system tree but I can soft
> link them to a directory name and then access them.
> On a CYGWIN restart "net use" shows the network names as being disconnected and
> reissuing the command doesn't change the status.  However, re-establishing the
> soft link allows full usability.
> Gremlins?

Indeed, those are always possible.  Typically here they take the form of
BLODA (  But I don't think that's the
problem in this case.  Given the steps you outlined above (and I snipped
for brevity) I played around with this some on my systems.  I found I could
get myself into what looked like your situation if I was dealing with a
share with a password.  Once I created a persistent mapping with the
password, everything worked as expected in my Windows session (and any
Cygwin terminal, Cygwin cmd.exe, or Windows cmd.exe windows).  I didn't
try rebooting.  The steps above do not show you supplying passwords but
once I did that for a particular share, I didn't need to use it again to
recreate the share so I'm wondering if your shares do require passwords
too.  If so, then what I'm seeing may match yours and you may find that
deleting the existing shares and recreating them persistently with the
passwords will help.



A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list