Re: Fwd: BUG?!: Running cygserver switches egid/primary group to 4095(CurrentSession)

Lionel Cons via Cygwin <[email protected]> Wed, 29 Jul 2026 09:35:00 +0200
Newsgroups gmane.os.cygwin
Message-ID <CAPJSo4VVxpgaBueVRQ6yi60aP=LK8Y4jNTYbpaa29fV+BVvK-Q@mail.gmail.com>
On Fri, 12 Jun 2026 at 17:19, Lionel Cons <[email protected]> wrote:
>
> On Thu, 11 Jun 2026 at 11:44, Mark Geisert via Cygwin <[email protected]> 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?

Lionel

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