X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: Yes, hits=5.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 5 May 2011 11:02:12 +0300 Message-ID: Subject: Re: Cygwin Permissions Error - solved From: 2del <2del AT maryhit DOT com> To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > THE PROBLEM: (see solution below) > I used to get this error while running cygwin binaries from Visual Studio= (either linked to IIS or not). > I think it applies to other cases as well, when the binaries are being ru= n by other users on that box. > The Error was: > =A0 =A0 =A0 4 [main] ssh-keygen 8796 cygheap_user::init: GetTokenInformat= ion (TokenPrimaryGroup), Win32 error 6 > =A0 =A0 208 [main] ssh-keygen 8796 cygheap_user::init: GetTokenInformatio= n (TokenUser), Win32 error 6 > =A0 =A01202 [main] ssh-keygen 8796 c:\cygwin\bin\ssh-keygen.exe: *** fata= l error - couldn't create signal pipe, Win32 error 5 > Stack trace: > Frame =A0 =A0 Function =A0Args > 0022E20C =A06102796B =A0(0022E20C, 00000000, 00000000, 00000000) > 0022E4FC =A06102796B =A0(6117EC60, 00008000, 00000000, 61180977) > 0022F52C =A061004F1B =A0(611C4E1C, 00000000, 00000000, 00000000) > 0022F94C =A0610C7B13 =A0(611FCB10, 02000000, 6116A724, 6116A720) > 0022F97C =A061006506 =A0(00000000, 00000002, 00000000, 76653480) > 0022FA3C =A06106FC15 =A0(61000000, 00000001, 0022FD24, 00000001) > 0022FA5C =A07713AF24 =A0(6106F960, 61000000, 00000001, 0022FD24) > 0022FB50 =A07713FD2E =A0(0022FD24, 7FFDF000, 7FFDE000, 771B714C) > 0022FCB0 =A0771490BE =A0(0022FD24, 770E0000, 6FC5D1D7, 00000000) > 0022FD00 =A077148FC0 =A0(0022FD24, 770E0000, 00000000, 00000000) > 0022FD10 =A07713B2C5 =A0(0022FD24, 770E0000, 00000000, 00010017) > End of stack trace > --- > SOLUTION: > Initially I have tried the rebaseall solution presented on the net, but o= bviously was not the case for my error. > In my case it was a permissions problem. The IIS 7 Identity was:=A0Applic= ation Pool Identity (ApplicationPoolIdentity). > I have changed it to: LocalSystem. > Just to be on the safe side, I have also copied all the registry entries = from: HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Cygw= in\ to=A0"HKEY_USERS\S-1-5-18\Software\Classes\VirtualStore\MACHINE\SOFTWAR= E\Cygwin\" (aka Local System) > I am not sure why is cygwin apps are trying to access the registry, but p= rocmon (from sysinternals) showed some access denies. > Maybe if there would be a version of cygwin which would not require regis= try access, it would work. > Good luck, Cygwin fans. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple