DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 65HHp56c892177 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 65HHp56c892177 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ECNNJQ0f X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AEEF34B9DB48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1781718663; bh=ZJJK33NOT0mSx943uiazH1txTDKVaQ96I3w/yMjp0zw=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ECNNJQ0fIoMipdyPcMCYIfQRGMPq9hOxzmWNnyvsgV+nxLwmnqgpzbUAeAQOVgImQ 6uPqR2Tl9zzL4DCIGIc0cPO0AsrCRIhfQTh9VjGn2UXKeJmmJHvCkjTbtWTbAdX61R LPISiOpct8AVI4Y+8pQwrXiwxswepvRb4G+mU1nE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0134A4BA2E08 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0134A4BA2E08 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781718615; cv=none; b=Q9hKKZLJt2P26AH2s4YJPmu9UmaXzUag0d8yqbE8yqTC29L6fuYrHIdNq9Sv46XJ8J+iFBHJ2nCTU14h5027p3p1Ce+mcfAZV58c4RSOXlqSZNnZa5Cd857JZZ50QdTvTXuX+ounMXKqL4Bv53XAyVbSmTbk6O+bmFO2GBnQf+c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781718615; c=relaxed/simple; bh=/0bnO7MOB4ry+d7NXXdR2N7kfWFJDXIH4bYMK2WvawY=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=Evtyx6pEj5k8JlFgVy7GW6J34bfUBgCIPncB2NzdX2jUnv+jxmmcim3eKoJCPBQg+WHp0+FXP3dG2SHzzKqR5p1u8h9btDsdm72e6gosWjCobRlFuoty0f0vMEfuiy5ig8VWU52okRpy7PFjZEXFWmzaZVlgpVk+TG4LDGuGUkE= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=VG4mXtRn DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0134A4BA2E08 X-Yandex-Fwd: 1 Date: Wed, 17 Jun 2026 20:36:36 +0300 X-Mailer: The Bat! (v11.4.3) Home Message-ID: <1341987082.20260617203636@yandex.ru> To: Mark Geisert , cygwin AT cygwin DOT com Subject: Re: Fwd: BUG?!: Running cygserver switches egid/primary group to 4095(CurrentSession) In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Greetings, Mark Geisert! > On 6/8/2026 3:35 PM, Lionel Cons via Cygwin wrote: > [...] >> If I run without cygserver id -a returns >> $ id -a >> uid=197620(lcons) gid=197121(Kein) >> groups=197121(Kein),197615(docker-users),545(Benutzer),559(Leistungsprotokollbenutzer),4(INTERAKTIV),66049(KONSOLENANMELDUNG),11(Authentifizierte >> Benutzer),15(Diese Organisation),113(Lokales >> Konto),4095(CurrentSession),66048(LOKAL),262154(NTLM-Authentifizierung),401408(Mittlere >> Verbindlichkeitsstufe) >> > but if I start cygserver each new session has gid=4095(CurrentSession) >> as egid/primary group for new terminals >> $ id -a >> uid=197620(lcons) gid=4095(CurrentSession) >> groups=4095(CurrentSession),197121(Kein),197615(docker-users),545(Benutzer),559(Leistungsprotokollbenutzer),4(INTERAKTIV),66049(KONSOLENANMELDUNG),11(Authentifizierte >> Benutzer),15(Diese Organisation),113(Lokales >> Konto),66048(LOKAL),262154(NTLM-Authentifizierung),401408(Mittlere >> Verbindlichkeitsstufe) > I'm unable to reproduce the issue, but I'm a little unsure I have the > complete list of steps to do so. Let's start with these questions: > Is your system part of a Windows domain? > How exactly are you starting cygserver? > When you say "each new session" do you mean opening a new Cygwin Terminal > that presents the usual bash+mintty user CLI? Or is it some other method? I think I've observed a related issue. I have /tmp set up as user mount, and from time to time, when I log in, it points to %WinDir%\TEMP rather than to the current user's %TEMP%, in turn making many tools dysfunctional. I have to restart cygserver for it to work. -- With best regards, Andrey Repin Wednesday, June 17, 2026 20:34:44 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple