delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/08/04/05:11:33

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 6749BWtM4005971
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 6749BWtM4005971
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=Gd44MLIo
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 693CB4BAE7EF
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1785834690;
bh=N/sb4iZO8Oz0YHLcAqW7GxhgEJ/bFswX9ht5aiQ8fGc=;
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=Gd44MLIo5b8WoMSnF2adytxWFLc6mRtPb3rjtxpzVnF02aftlJEvOBMYFYVaq22G9
LoEeSHacC9EYsfB+LDTMZJFDboFstXJxV05DTk660sFfclpGAsdv87A+O+TsVcW3t0
gfrPtvsNdtnNLGMrakOvDDVdzFm4nO0KHkVApwSw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C00F64BA2E17
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C00F64BA2E17
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1785834668; cv=none;
b=BfQHhoda279k7ed2UeQoSkkph3UNZh3ybWbvFwM0I9T+qOxqaWTgFhkOQsaEsIg/9rHrn0ZoZZSe2MLw9N0ovTJSLQQYFOFea2arjPUYOqRE9RIP94sq3LFrmN7HHPg+ptMJgOwfHCUhXMJumxoFvlrgwemLWfl5o137KEOFDUc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1785834668; c=relaxed/simple;
bh=5wP9kkaXqPX5ASvmfgbqtBYWgEPPEJvEm3dCcbfuI5Q=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=FNOmvl5atC57/napcGfpdHzFloAnlG0033GfmFRZNp6vphfH9BXbVvEx7hUrJByNcqWUCURXjW6O+Ze2T2aaKK4luY10aMUvsh3UWUHqa9K09lyObt7pKC5wPIWUbVFAS4PIz6NjVyCmBqXC+/ZAVJnszwWX0BAhwUsG7m/e4rY=
ARC-Authentication-Results: i=1; sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C00F64BA2E17
Message-ID: <4100b196-0858-457a-a19a-9b175f57eeb4@maxrnd.com>
Date: Tue, 4 Aug 2026 02:11:03 -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>
<f3ef6d4e-dc1a-48ad-8711-b57d8b614fbf AT maxrnd DOT com>
<CAPJSo4WDTbv8m8OcA-RyUn2OSWdp2WXVCWcFuj0Mc4DYjSRVWw AT mail DOT gmail DOT com>
<CAPJSo4VVxpgaBueVRQ6yi60aP=LK8Y4jNTYbpaa29fV+BVvK-Q AT mail DOT gmail DOT com>
In-Reply-To: <CAPJSo4VVxpgaBueVRQ6yi60aP=LK8Y4jNTYbpaa29fV+BVvK-Q@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 7/29/2026 12:35 AM, Lionel Cons via Cygwin wrote:
> On Fri, 12 Jun 2026 at 17:19, Lionel Cons <lionelcons1972 AT gmail DOT com> wrote:
>>
>> On Thu, 11 Jun 2026 at 11:44, Mark Geisert via Cygwin <cygwin AT cygwin DOT com> wrote:
>>>
>>> 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?
>>
>> No, this is a test installation, Windows 10, standalone, IPv4-only
>>
>>>
>>> How exactly are you starting cygserver?
>>
>> Enabled it as service with autostart, reboot.
>>
>>>
>>> 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?
>>
>> Yes, just start a new mintty process each time, and not one mintty
>> process sharing multiple windows.
> 
> Has anyone figured out a fix for this?

It appears nobody else has even seen the issue and/or reproduced it. 
Those are the first steps towards fixing it.

My go-to resource for cygserver answers has been out of commission for a 
while and will not soon return.  I have no further ideas at the moment.

..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 © 2026   by DJ Delorie     Updated Sep 20 2026