www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/19/05:07:22

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60JA7M9w4049731
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 60JA7M9w4049731
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=YXXthSpT
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 064434BA9011
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768817241;
bh=2UQeiDhk7vbii+rRlZls+St3IKVbGvXFIcerYaMEsEg=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=YXXthSpTj9J6WqyZA83D7e7GuwiwRkeOm34iA2woM+BpaIy2/Gcp63Vq6KEQ83+Ij
2qE6ikdOxNkPqUi4Cr+qwpwHcbZEZ7JSdB3BVMjOpipcOnqe+tqqRWWyVmdamynYED
SM9rAMUyCBEQL8tSnLp4bIYHuKuq8Qpo9B6T6v8s=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3089B4BA901A
Date: Mon, 19 Jan 2026 11:07:02 +0100
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 3.6.6-1
Message-ID: <aW4CRqNYbPSRZwal@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20260109194027 DOT 293669-1-corinna-cygwin AT cygwin DOT com>
<b7767cbd-5b00-4be7-97a5-731a8bdc77a1 AT gmail DOT com>
<aWTCxt7wPA1ZwWyZ AT calimero DOT vinschen DOT de>
<53333e15-802b-47f3-b193-49d631ee23a7 AT gmail DOT com>
<aWTQNthe6ZNfp0LM AT calimero DOT vinschen DOT de>
<98e6caf7-250b-440b-bfa4-51cd2d89cc0e AT gmail DOT com>
<aWjHpW_AajfOKcQl AT calimero DOT vinschen DOT de>
<20260115201448 DOT 2cb7b72e4dd0e26b5ad2c093 AT nifty DOT ne DOT jp>
<aWk-lhoLkdDoErvD AT calimero DOT vinschen DOT de>
<254418298 DOT 20260117194826 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <254418298.20260117194826@yandex.ru>
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: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin 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>

Hi Andrey,

On Jan 17 19:48, Andrey Repin via Cygwin wrote:
> Greetings, Corinna Vinschen via Cygwin!
> 
> > On Jan 15 20:14, Takashi Yano via Cygwin wrote:
> >> Hi Corinna,
> >> 
> >> I also could reproduce the issue.
> >> [...]
> >> 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.
> >> [...]
> >> > If you stop all Cygwin processes and restart cygserver, is the primary
> >> > group still as expected?
> >> 
> >> No.
> 
> > So running cygserver suppresses changing the primary group?  That's
> > weird, because the effect seems so arbitrary.
> 
> Probably related, I have the following configuration in /etc/fstab :
>
> >> none /mnt cygdrive noacl,binary,nouser,posix=0 0 0
> >> W:/ /run ntfs acl,binary,nouser,posix=0 0 0
> >> none /tmp usertemp binary,user,posix=0 0 0
> 
> (Eyes on the last entry - the user-specific /tmp.)
> 
> After some random reboot, the user's mount point is not %LocalAppData%\Temp,
> as you would expect, but %SystemRoot%\Temp.
> 
> Stopping and restarting cygserver solves the issue for all subsequent logons.

I tried this multiple times, but I can't reproduce this issue.

I doubt that this is in any way related to the primary group issue.
cygserver caches account info, but it doesn't cache mount points.

Actually, mount points are stored in a user account specific shared
memory.  Cygserver, running under the SYSTEM account, is storing its
own mount points in its own share mem for the user SYSTEM, and it
doesn't cache this for any other user.  There's no mechanism to exchange
mount point info between cygserver and user Cygwin processes.


Corinna

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