X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_CHARSET_W1251,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: From: Saurabh T To: Subject: uid is 0 on first open of cygwin window, nonzero next time Date: Wed, 25 Jan 2012 16:24:41 +0000 Content-Type: text/plain; charset="windows-1251" MIME-Version: 1.0 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q0PGPF51016619 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. -- 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