Cygwin, Windows Shared Drive Access
Andrey Repin
anrdaemon@freemail.ru
Wed Mar 27 01:50:00 GMT 2013
Greetings, mcforum!
> 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.
Stop using mapped drives already...
UNC is there to help you.
> 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?
...seriously, don't use mapped drives.
>
> From the startup window from CYGWIN.BAT the net use command works successfully
You're using it wrong.
>>>>>>>>>>>>>>>>>>>>
>
> RM3@McBroomRC4 ~
> $ net use \\\\mcbroomrc2\\e
> The command completed successfully.
>
> RM3@McBroomRC4 ~
> $ net use \\\\mcbroomrc2\\mcrc2
> The command completed successfully.
>
>
> RM3@McBroomRC4 ~
> $ net use
> New connections will be remembered.
>
>
> Status Local Remote Network
>
> -------------------------------------------------------------------------------
> Unavailable T: \\Mcbroomrc2\e Microsoft Windows Network
> Unavailable U: \\oro-fbbe-fs1nts\rm3 Microsoft Windows Network
> Unavailable W: \\Mcbroomrc2\mcrc2 Microsoft Windows Network
> OK \\mcbroomrc2\e Microsoft Windows Network
> OK \\mcbroomrc2\mcrc2 Microsoft Windows Network
> The command completed successfully.
>
> RM3@McBroomRC4 ~
> $ ls -l //mcbroomrc2/e
> total 364
> d---------+ 1 Administrators Domain Users 0 Nov 13 09:42 $RECYCLE.BIN
> -rwxrwxrwx+ 1 Administrators Domain Users 35 Jul 29 2010 Autorun.inf
> drwxrwxrwx+ 1 Administrators Domain Users 0 Nov 13 15:09 Criticality
> drwxrwxrwx+ 1 Administrators Domain Users 0 Feb 25 10:04 Downloads
> drwxrwxrwx+ 1 Administrators Domain Users 0 Mar 19 16:37 exper
> dr-xr-x---+ 1 Administrators Domain Users 0 Feb 25 11:48 hdrive
> drwxrwxrwx+ 1 Administrators Domain Users 0 Nov 13 12:39 isotope
>
Now, try the same without any dances around the tree.
> 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.
...sorry, but they are indeed shown where they are - network places - windows
network ... there they all. Should be, if your network configured properly.
> 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?
There's nothing to do with cygwin. You don't have a control connection to the
remote server.
net use \\server\IPC$
Once you're authenticated with remote server, you can just use UNC names
directly.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 27.03.2013, <05:42>
Sorry for my terrible english...
More information about the Cygwin
mailing list