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

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: uid is 0 on first open of cygwin window, nonzero next time
References: <BAY158-W2213A20AEF540AD4CB468FB1880 AT phx DOT gbl>
In-reply-to: <BAY158-W2213A20AEF540AD4CB468FB1880@phx.gbl>
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 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

- Raw text -


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