X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TW_RW,TW_WX X-Spam-Check-By: sourceware.org Message-ID: <4FABE871.70205@mailme.ath.cx> Date: Thu, 10 May 2012 18:10:25 +0200 From: bartels User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120430 Icedove/3.0.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: openssh: uid changes unexpectedly to cyg_server References: <4FABB9E7 DOT 2060703 AT mailme DOT ath DOT cx> <4FABE11E DOT 4030907 AT cygwin DOT com> In-Reply-To: <4FABE11E.4030907@cygwin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 05/10/2012 05:39 PM, Larry Hall (Cygwin) wrote: > On 5/10/2012 8:51 AM, bartels wrote: >> Hi All, >> >> I have a situation where the uid changes to cyg_server unexpectedly when >> changing PATH: >> >> >> $ ( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; id ) >> UID=1001(pleezy) GID=513(None) >> groepen=513(None),544(Administrators),545(Gebruikers),1000(HomeUsers) >> uid=500(cyg_server) gid=544(Administrators) groups=544(Administrators) >> >> >> The uid 500 is in itself strange, as it does not seem to belong to >> cyg_server >> >> >> The devkit directory looks normal: >> >> $ ls -l /cygdrive/c/devkit/msys/1.0.11/bin >> totaal 9100 >> -rwxr-xr-x 1 pleezy None 105472 25 mrt 2008 a2p.exe >> -rwxr-xr-x 1 pleezy None 162 26 aug 2008 awk >> -rwxr-xr-x 1 pleezy None 16896 26 aug 2008 basename.exe >> . . . >> >> It is causing tremendous problems in file access. >> >> Any ideas? > > Yes. You've changed the tool you're using when you changed your path. > Try '( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; > /cygdrive/c/cygiwn/bin/id)'. > > You are right, of course. Now the question is how to use the devkit properly. Thanks, Bartels -- 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