msys2-runtime icon indicating copy to clipboard operation
msys2-runtime copied to clipboard

Can't access files from network drives

Open Birgos opened this issue 2 years ago • 3 comments

Hello!

I hope I am in the right place for my question!

As mentioned in issue #58 after I installed Git for Windows v2.36.0 (with msys v3.34) it seems that git bash can't access network drives. The following problems occurs when I start a git bash.

First the console displays: : /v//.bash_profile: Too many levels of symbolic links

Furthermore it seems, that msys2 can't load my window settings (v:\.minttyrc) just like my bash_history. When I try: cd $HOME it quits with: bash: cd: /v/: Too many levels of symbolic links

Result of uname -a: MINGW64_NT-10.0-19044 TESTPC 3.3.4-341.x86_64

Only after I have set the environment variable MSYS to nonativeinnerlinks the bash "seems to behave like before". I saw the merged Pull Request #73 and thought that this misbehavior had been fixed.

Now I would like to know if the environment setting is nevertheless to be set?

Birgos avatar May 06 '22 10:05 Birgos

Another fix was needed, and Git for Windows v2.36.1 was released with it (we had to pull an intermediate state of the Cygwin runtime because Git v2.36.1 had been released already, and we could not wait for Cygwin v3.3.5 to be released). The MSYS setting should no longer be necessary with that.

MSYS2 will probably wait for Cygwin v3.3.5 before upgrading the MSYS2 runtime.

dscho avatar May 10 '22 20:05 dscho

I am experiencing the same issue and can confirm that the workaround helps. I am looking forward to the announced fix.

maehne avatar May 13 '22 07:05 maehne

I am experiencing the same issue and can confirm that the workaround helps.

Can you try (temporarily) replacing your /usr/bin/msys-2.0.dll with Git for Windows' variant and verify that it fixes the issue, too?

dscho avatar May 13 '22 10:05 dscho