delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/12/04/15:50:44

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 AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 ?
To: cygwin AT cygwin DOT com
References: <3a9f1d9a-d363-4617-bc24-e2b5aa4d27e9 AT gmail DOT com>
<CAKAoaQntTmvE8EbKCiJMcySrhHG91a947A8WTvKkv3H6LzhsHg AT mail DOT gmail DOT com>
<48e6fb4c-2341-4f43-b158-d70a9b391f91 AT gmail DOT com>
<de6f8c31-2e4d-48e3-af61-6e6a2b640f79 AT dronecode DOT org DOT 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 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: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
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>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019