www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/06/11/05:45:07

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 65B9j7Hh2655667
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 65B9j7Hh2655667
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=oasWWHqE
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE8024BA2E26
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1781171104;
bh=G2WCVSLEQGjU6Lx0TxwTMweTdaLtynnx7rllogmRchs=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=oasWWHqEoyZsOzjULEAdlN0dhNOmPnZbOetPZR1sbLTW+YdDI+OGE8MQR6RqRD8bz
vyl7VnY2KoX84QXlfGfWJ+1HXD/EUNjAqQjn7IggUS4hwfv+iZ4Wzcimwq1J46kNPr
oiz+GeNylbt2jILzKDAL6gBDtUtHBv0R4bDERmEo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF9954BA5435
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CF9954BA5435
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781171085; cv=none;
b=aWu38gweMgoAuc4WN4g2O35cO2/EA70G+JaCjy2tIVaxonCNqcC9fWuI7mo5RVOW4VnoY7RIPZccUort99sk/wrrFAYRwi6dwtzklHGmVW5Oplbt4dYJQxr5OzYdUQeCqErIV3FoOHsP63t/rkRI9JQNAR6FyEaVMfnYMCnzpB8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1781171085; c=relaxed/simple;
bh=bkFz4/Mxy9tFOOPA+dnqFpcb6oOu7D1KjAGBCD/tEwk=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=PdbD3tn4zk69a19u3DgsNixp4afETTjRIIVHQHn4YGfqA0QVRpcnv4iqiSKWrcN9fYbwMCopYPUiv7pz+0IsBkJGc2N7VQjU2dx+Gqa4B/QdOureTNWa4O5TqN7PeQ20NzhbJVospAjCwi6QyhmC4CVnFnsAH0Mpim3X1NH4X/w=
ARC-Authentication-Results: i=1; sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF9954BA5435
Message-ID: <f3ef6d4e-dc1a-48ad-8711-b57d8b614fbf@maxrnd.com>
Date: Thu, 11 Jun 2026 02:44:42 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Fwd: BUG?!: Running cygserver switches egid/primary group to
4095(CurrentSession)
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <CAPJSo4W-MmBMjVDJg3BA1dqJQ_u59srz6+_-3Uti5ktebZ7-Mw AT mail DOT gmail DOT com>
<CAPJSo4VsSq=a7dSGa17nfy6CEdTfvJuSu_1NT-dGKK+xXSwLaw AT mail DOT gmail DOT com>
<CAPJSo4V23W3AJHYhtce7hbrm=QtE+vgBqLu8rf+qp63oNuXTyw AT mail DOT gmail DOT com>
In-Reply-To: <CAPJSo4V23W3AJHYhtce7hbrm=QtE+vgBqLu8rf+qp63oNuXTyw@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Mark Geisert via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Mark Geisert <mark AT maxrnd DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello Lionel,

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?

..mark

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

- Raw text -


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