DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5B4KohBZ917132
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 5B4KohBZ917132
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=AsNgni1P
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75C424BA23F9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1764881442;
	bh=3fhw1ABHW/Lt3AWqvNGd3yWdVWdSlzZ4J76xkqgREM0=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=AsNgni1Pc0Pro3M6G5L8CP/o+z42CUW/tyMet3s5JLGuQMkho5ba8bGbh7FHLol7o
	 33f4SyI2aRMZMcJjBV79jvx+oycYPBxDHhriTfYHICPyR9IRbBGU070WjevIDwSJj2
	 Nuv89NHtDVobTsjCDjJtFUh05f6ujJiQMVK+KWFs=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AF3BD4BA23F9
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AF3BD4BA23F9
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764881407; cv=none;
 b=gDAxnkeoM3MDLeiJEc1PFCqmbyOmcy4KYwiGLWgzSTzR6iFf/i/Yx6gOLAUYk4fisz1CxlmbvsGYZ5ULiuTPGtOt+6EdPLOFmNSPj5hTg+2Fmg/gbcwdBxnLNtkL541kFkKvBUkZrRScCNvLriZ7r0dnQ+2JJQNrT3M3BhESqPk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1764881407; c=relaxed/simple;
 bh=pVyKT5x1QuUimGcn7yeIjlX+n2l8cbZuQhDyoR8aFIk=;
 h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
 b=Oij7eSym65e4g+4rzaa7tKoM59i96z63K+9Za7Ap4RSHYcW/QMzNJTavAaMgC6XJY4/XSywI2+YuM6h/LdTtgGudf23ulNkh8tYbyTkNLx9t6Hs6A8svsPGS5YvIAJpQKROI4zC/CYu4YJQBX4wDXgU0cGNA1DFIwG5xlu0Ings=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF3BD4BA23F9
Message-ID: <a3be4a15-ff9b-4056-9982-b991eed1a430@SystematicSW.ab.ca>
Date: Thu, 4 Dec 2025 13:50:04 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: group '545' does not exist ?
Content-Language: en-CA
To: cygwin@cygwin.com
References: <3a9f1d9a-d363-4617-bc24-e2b5aa4d27e9@gmail.com>
 <CAKAoaQntTmvE8EbKCiJMcySrhHG91a947A8WTvKkv3H6LzhsHg@mail.gmail.com>
 <48e6fb4c-2341-4f43-b158-d70a9b391f91@gmail.com>
 <de6f8c31-2e4d-48e3-af61-6e6a2b640f79@dronecode.org.uk>
Organization: Systematic Software
In-Reply-To: <de6f8c31-2e4d-48e3-af61-6e6a2b640f79@dronecode.org.uk>
X-Stat-Signature: q536bpfw8cxhxz39z6zctbfocqsm7zub
X-Rspamd-Server: rspamout01
X-Rspamd-Queue-Id: D511F32
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX18Lc9V78kg1SnAiTShPnQnURCUBvmn9Bug=
X-HE-Tag: 1764881405-163801
X-HE-Meta: U2FsdGVkX19Vrm2kyHWhnKEQ3H4FuGghRinc+R48nOJtz4ZbAzr+ODCQxmQ+EUmA4a75k9Du2SsmEWfBnUlCzAp1V0nbmYBNRRmm3Z2hkAe0ZQIf2mJhzuq+dWrjKJqrLjZXAtdmJh72bxURw47LjhRNp0ZCRMLhbotlhJbByNVCi6L1iUXKIC+TZBGW30mKWcL7ggshVGlX4ioL5wnmQ1rJK/b7w9lqQtd14QKYst3iX57VbabuSQQMMfhOr4igNprr7uQ2sfJTmz3SVMP3WFAuc+lb0ota0B0dBE1actWORrQxB20NBpgIJeFmAeiaiZrkcKDG+L/44qVIkDZl54NXExJ2E6huSCuQG6jTeJ2rVJWtHJpjfTxEK3AHXwTcqDCqIGVhnj/FsbC5tgSB0SXl33Ey3IoQkTq414Ymp/vF7BBAuBMa1ritpNUP75+TplslaTiAZmalAXpgsEXqwFD80Isf0FGCN4GiVx43p3kQQe+NKRTl8/ROWeDKOl2k4yZ0MWxB5+E=
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: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5B4KohBZ917132

On 2025-12-04 08:00, Jon Turney via Cygwin wrote:
> Actually, I think this is a shortcoming of the cygwin version of newgrp.
> The SUS description [1] of newgrp allows a numeric group id to be specified.
> (In fact, it includes the clarifying remark "If group is a non-negative numeric 
> string and exists in the group database as a group name, the numeric group ID 
> associated with that group name will be used as the group ID", which suggests a, 
> um, straightforward implementation)
> But it seems that our implementation only currently handles a group name (See [2]).
> [1] https://pubs.opengroup.org/onlinepubs/7908799/xcu/newgrp.html

That's OG SUSV2 1997 - current is at:

	https://pubs.opengroup.org/onlinepubs/9799919799/utilities/newgrp.html

> [2] https://cygwin.com/cgit/newlib-cygwin/tree/winsup/utils/newgrp.c#n166
-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

