delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.8 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_RW,TW_WX |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4FABE11E.4030907@cygwin.com> |
Date: | Thu, 10 May 2012 11:39:10 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
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> |
In-reply-to: | <4FABB9E7.2060703@mailme.ath.cx> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 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)'. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |