X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 25 Jan 2012 18:20:18 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: uid is 0 on first open of cygwin window, nonzero next time Message-ID: <20120125172018.GS2456@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Jan 25 16:24, Saurabh T wrote: > > When I open a cygwin window for the first time (that is, when no other > cygwin window is open), uid and group are 0 (superuser/root; however > username is correctly mentioned). Upon subsequent opens (without > closing the first), a reasonable uid is set (1004). This is with > latest cygwin, bash shell, on windows 7. What might be the problem? > Thanks. AFAICS this is a bug in Cygwin which we have fixed in CVS about a month ago. Can you please replace your cygwin1.dll with the one from the latest developer snapshot from http://cygwin.com/snapshots/ and try if it fixes your problem? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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