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: 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: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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