Received: by mail-iw0-f173.google.com with SMTP id 6so3096986iwn.18
        for <lauerr@gmx.net>; Sat, 17 Jul 2010 10:14:00 -0700 (PDT)
Received: from mail-iw0-f173.google.com (EHLO mail-iw0-f173.google.com) [209.85.214.173]
  by mx0.gmx.net (mx032) with SMTP; 17 Jul 2010 19:14:01 +0200
Received: from burratino (c-98-212-3-231.hsd1.il.comcast.net [98.212.3.231])
        by mx.google.com with ESMTPS id h8sm15591616ibk.21.2010.07.17.10.13.57
        (version=SSLv3 cipher=RC4-MD5);
        Sat, 17 Jul 2010 10:13:58 -0700 (PDT)
Received: by 10.231.36.72 with SMTP id s8mr2756915ibd.49.1279386838887;
        Sat, 17 Jul 2010 10:13:58 -0700 (PDT)
Received: (qmail invoked by alias); 17 Jul 2010 17:14:01 -0000
Return-Path: <jrnieder@gmail.com>
From: "Jonathan Nieder" <jrnieder@gmail.com>
To: "Rainer Lauer" <lauerr@gmx.net>
Cc: <git@vger.kernel.org>,
	<msysgit@googlegroups.com>
References: <001d01cb25cb$eb176980$c1463c80$@net>
In-Reply-To: <001d01cb25cb$eb176980$c1463c80$@net>
Subject: Re: Challenge with Git-Bash
Date: Sat, 17 Jul 2010 19:13:03 +0200
Message-ID: <20100717171303.GB10730@burratino>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
X-GMX-Antivirus: 0 (no virus found)
X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4U4jfdfC5HDevlx1X2sAZgAaLl3DbFfW0PXxL7WgvovMFXXSEPrACW/b9IW Qp+GhEViZlUW4mdBntgP1X8KwB5tjHCA/yxSZMu7BXBiPs3ujyaoi2xLHDqpg8dk65Dhpb3Lg0c1 iTjGg==V1;
thread-index: AQJBLblBgdg5C3/Ahc5qaLKbDJjUnQNsR91r

(+cc: msysgit)

Hi Rainer,

Rainer Lauer wrote:

> 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 =E2=80=9CBad file number=E2=80=9D can mean =
=E2=80=9CPermission denied=E2=80=9D among other
things on Windows.  I do not have any better suggestion than to try
running git bash as administrator too, sorry.

Regards,
Jonathan
