DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60FBFEuZ1582481
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 60FBFEuZ1582481
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=DyPexIfK
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A34B4BA2E3A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1768475713;
	bh=E5VXnW3cRq3ERM3pY8Pg/LehDdSz2KDWctVkzSTgSNQ=;
	h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=DyPexIfKuzlf1WB8GBl4ajZpGccdhKQtk61CqzgI6LdBH68u/SEHMFGBSGqoGbN90
	 zBcFdLUZqdVqz5fAKiTxanKgiuyAqmd/oHL1fNfA0DWElKWSufHUduYiIhNGL7yfZf
	 EQsGzFEF+cWsGRbiFU23J8D4wPdhJRv3Z89SVeow=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D0EE14BA540B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D0EE14BA540B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768475691; cv=none;
 b=aVD/62MjIczRF+WDZxzsc+I6VK85QnOiebn7QoYfAWmFj6O2+XSCtfDX9+zNN2TZmvvIpd+mjupDzjKjHUzlUAjoVGmCzabqQ9QbmVamEUMaMTxzwcH0zl+lURbzVt+VpRwRzwga7M/beVsi2FoGal7KfHFCrnfZVNRrvZaIWWo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1768475691; c=relaxed/simple;
 bh=tDeupQbUekHqW5pI9thdT9aW/L5PIseTzufo3VT9CHE=;
 h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
 b=DK0EJ+UNOutr0DukTHlVmCyHtrTCRKvMSqWSENoxonhiyNDTLxmZ+8X5//seYTy92hEqR5EBsTHIo8wdsICMbPPdPploSyq5EV4FJSkHc+84i4+2YpJSDV3OzS1YOMj95HRXrkqC7/LcO7tibYVMFV8bxprOGT6MKvdgseI3tdA=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0EE14BA540B
Date: Thu, 15 Jan 2026 20:14:48 +0900
To: cygwin@cygwin.com
Subject: Re: cygwin 3.6.6-1
Message-Id: <20260115201448.2cb7b72e4dd0e26b5ad2c093@nifty.ne.jp>
In-Reply-To: <aWjHpW_AajfOKcQl@calimero.vinschen.de>
References: <20260109194027.293669-1-corinna-cygwin@cygwin.com>
 <b7767cbd-5b00-4be7-97a5-731a8bdc77a1@gmail.com>
 <aWTCxt7wPA1ZwWyZ@calimero.vinschen.de>
 <53333e15-802b-47f3-b193-49d631ee23a7@gmail.com>
 <aWTQNthe6ZNfp0LM@calimero.vinschen.de>
 <98e6caf7-250b-440b-bfa4-51cd2d89cc0e@gmail.com>
 <aWjHpW_AajfOKcQl@calimero.vinschen.de>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin@cygwin.com>
Reply-To: Takashi Yano <takashi.yano@nifty.ne.jp>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Hi Corinna,

I also could reproduce the issue.

On Thu, 15 Jan 2026 11:55:33 +0100
Corinna Vinschen wrote:
> On Jan 15 07:30, Marco Atzeri via Cygwin wrote:
> > I was able to reproduce the glitch
> > 
> > 1) REBOOT the Laptop
> > 
> > 2) Starting automatically the Services
> >    /usr/sbin/cygserver
> >    /usr/sbin/sshd -D
> > 
> > 3) open a Terminal
> 
> Through ssh or local?

Local. In the mintty terminal opened after
cygserver is started. In the mintty terminal opened
after cygserver is stopped, the gid is as expected.

The terminal already opened at the time cygserver is
started/stopped is not affected.

> > $ id
> > uid=197608(Marco) gid=197121(NESSUNO)
> > groups=197121(NESSUNO),545(Users),4(INTERACTIVE),66049(ACCESSO
> > CONSOLE),11(Authenticated Users),15(Questa organizzazione),113(Account
> > locale),4095(CurrentSession),66048(LOCALE),262154(Autenticazione
> > NTLM),401408(Livello obbligatorio medio)
> > Marco@DESKTOP-L2T1NQ9:~
> > 
> > 4) Shutdown the services, and close all processes
> > 
> > 5) open a Terminal
> > 
> > $ id
> > uid=197608(Marco) gid=545(Users)
> > groups=545(Users),197121(NESSUNO),4(INTERACTIVE),66049(ACCESSO
> > CONSOLE),11(Authenticated Users),15(Questa organizzazione),113(Account
> > locale),4095(CurrentSession),66048(LOCALE),262154(Autenticazione
> > NTLM),401408(Livello obbligatorio medio)
> > 
> > 
> > Maybe Cygserver start earlier than some Windows process that should properly
> > identify the User ?
> 
> Maybe, but your user info is created from /etc/passwd, not from the
> local SAM or AD.  How would a service order problem influence the
> /etc/passwd info?
> 
> If you stop all Cygwin processes and restart cygserver, is the primary
> group still as expected?

No.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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