delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/25/12:21:13

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 <corinna-cygwin AT cygwin DOT com>
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: <BAY158-W2213A20AEF540AD4CB468FB1880 AT phx DOT gbl>
MIME-Version: 1.0
In-Reply-To: <BAY158-W2213A20AEF540AD4CB468FB1880@phx.gbl>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019