X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=4.9 required=5.0	tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE,TW_YG
X-Spam-Check-By: sourceware.org
Message-id: <4F2036B7.9090108@cygwin.com>
Date: Wed, 25 Jan 2012 12:07:03 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: uid is 0 on first open of cygwin window, nonzero next time
References: <BAY158-W2213A20AEF540AD4CB468FB1880@phx.gbl>
In-reply-to: <BAY158-W2213A20AEF540AD4CB468FB1880@phx.gbl>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 1/25/2012 11:24 AM, 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?

Not sure.  How would one attempt to reproduce the behavior you're seeing?
Can you provide cygcheck output as requested by the problem reporting link
below?

> Problem reports:       http://cygwin.com/problems.html

-- 
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

