Access to mapped network drives

2,411 views
Skip to first unread message

Garth

unread,
Jun 18, 2009, 2:50:49 PM6/18/09
to msysGit
Using the Git Bash I have been trying to access a mapped network drive
I set up on Windows but it doesn't seem to be working. Whenever I cd
to Y: it always says that it doesn't exist. I can access it from
Windows, so I know that it's actually connected and in Git Bash I ran
the command "net use" and the drive also shows up there with the
correct mapped drive letter and a status of "OK." Does accessing
mapped network drives not work or am I doing something incorrectly?

Lee Griffiths

unread,
Jun 22, 2009, 1:46:07 PM6/22/09
to msysGit
I've had this problem myself. You can access //path/to/mapped/drive/
fine, but not /z/ or whatever itself. If I open msys bash I can run
"ls /z/" and it works fine, but git bash just gives a standard "no
file or directory".

2009/6/18 Garth <garth...@gmail.com>:

Pat Thoyts

unread,
Jun 22, 2009, 2:52:14 PM6/22/09
to Lee Griffiths, msysGit
2009/6/22 Lee Griffiths <podd...@gmail.com>:

Seems fine using msysGit 1.6.3 (bash version 3.1.0(3)-release
A session (I've already mounted \\BADGER\public as U:)

pat@FROG ~$ net use
New connections will be remembered.


Status Local Remote Network

-------------------------------------------------------------------------------
OK U: \\BADGER\public Microsoft Windows Network
The command completed successfully.


pat@FROG ~$ ls /u/gitk.git/
Makefile gitk po

pat@FROG ~$

Git commands work ok once I have 'cd /u/gitk.git'. eg: gitk does what I expect.

Marius Storm-Olsen

unread,
Jun 23, 2009, 2:32:54 AM6/23/09
to Garth, msysGit
Garth said the following on 18.06.2009 20:50:

bash doesn't do
cd Y:
you do
cd /y/
instead

--
.marius

Garth

unread,
Jun 23, 2009, 6:27:52 PM6/23/09
to msysGit

On Jun 23, 2:32 am, Marius Storm-Olsen <msto...@gmail.com> wrote:
>
> bash doesn't do
>      cd Y:
> you do
>      cd /y/
> instead
>
> --
> .marius

After restarting the computers involved the entire problem seems to
have resolved itself somehow. And both cd Y: and cd /y/ appear to
access the mapped drive.

Thanks for your help!
Reply all
Reply to author
Forward
0 new messages