Re: Challenge with Git-Bash
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 17, 2010, 17:13 UTC
- Message-ID
- <20100717171303.GB10730@burratino>
- In-Reply-To
- <001d01cb25cb$eb176980$c1463c80$@net>
(+cc: msysgit)
Hi Rainer,
Rainer Lauer wrote:
Show 17 quoted lines
> with my Windows 7 Git-Installation I get following challenge: > > 1) Set GIT_EDITOR to editor of your choice > > 2) With Windows7 let this editor run in admin-mode > Goto .exe-file -> right mouse-click -> compatibility -> run program > as admin (I'm running a German version maybe English names are slightly > different) > > 3) Make a git action like git add file > git commit > from the git bash. > > 4) Now following message appears: sh.exe: ./"editor of your choice": > Bad file number > > Everything is fine without Admin-Mode set for editor.
Apparently “Bad file number” can mean “Permission denied” among other things on Windows. I do not have any better suggestion than to try running git bash as administrator too, sorry.
Regards, Jonathan