DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5B58SR9m1198717 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 5B58SR9m1198717 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=IdaVqN+Q X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFD124BC894A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1764923306; bh=E+fp/vR3yNT5eKkVR7s8B1zkNMswM7IEPy1jsCuIDEg=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=IdaVqN+QpuZ9hVAHM3POwVtZYVv+dN+t9ndTaHrQl3PVU25oLDyEt5/ZgO5eUkACx GfgLMKmyzEwYrLOpApywH+Mm3X9yROb2Uh9LYATO0wNVH32Jb/0/DBzlDZVXSXKqwf mA4bHaId72ZzphNC4Rs5dAY5lcRNytZkG0pmcyKQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 114004C3184B ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 114004C3184B ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764923287; cv=none; b=MBQy0v5pBlH3nUWX+IF33tKPS4Tz53siK0kChTgjvxproOEngaxJC220DWYODt9HwcQ9jqhVeo1wInoBF84g5Ii6RMIPuCY+HQDYx60wVoa9e1v6yOdRQv0ANQFdZrcK+27ehAGypxjaVZDyiubTdDMuK6g4sXKG/lxPX5TPaj0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764923287; c=relaxed/simple; bh=6hGL47S9ZWuOGw2bW6HlEkW1cSO06FHwSe+ynP0wk1U=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=LnethBEOpJjKvtr2Z9OVP3fnqmoTkra2kYDyvYTBm2UJb3feUkC1mEFsMLCOlk4lBkOEMuehOdpLWuuTgVq/16HDs5zr1WRA9CUV6W1xzYFSHU+yMmvSRnxmCDd/vGISJTUyVEWKdOa3ndJuecWYaX4a4E88CHh+1/NsVBpUS/M= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 114004C3184B X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764923286; x=1765528086; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mW4XKOpI5E5y++sVkyhZGGTxiy+Dhd8aOhezj6l56cM=; b=jnQNQ2+vpWsuOFT+gMOQek5bTinlcQZiBIhW3yyaW3jP+8JEU6VWuFzSLng2DOVLqq oLDnfocL4bGmVvGgV0TiSTomj+GnWWauVBTA/wvXNeuR2M1mCa7A5zt6jAAzmBClrEFl XLVPrJTCyMvejyxURdC3D8nx90oo9IdO3lWQS5iZ6n40l+Kg9oiRP7KVW0ACA/sceNqE hQcTCv/XL2ZmyJkBUJI1G9flC9Znqrl99jyfj2smCq8zfM+O4j3oGtc6XR12FUabmSJ2 Gkc2/jfpa0ekZ16JDaG/bhzKgIBtlklcCgW2PcDaBtq6zFV9fupQ8LvsIJavUcoa48lx HdcQ== X-Gm-Message-State: AOJu0Yy7cOmj+oM0WbL8td5GQSm6Yb3Io9GMSl4GKlDA8UsEgp7cOGa0 IHZiNF599WxAMzxaYmKu9Rox8Wp1pDz2l9QCT1UAZaLkytMueYjhOkVl4NBa4Q== X-Gm-Gg: ASbGncvac+LGqegfnf48YzavI4UIGImlUpdkfETSGweje7IKQJd/j2rfFhqiQLDRUZn 4f4D8NGOhZPDUjNprDVDDbM52Rm32Zv9LmHUPbZsRMLRcC3t59kNHyJOBs0Slte7h6j8ANXPrUm 487B5/NBaXT731EGyvUCIMmpjTOqTqDoo2tDVJopr/SBpkKofwLgxsG4q53hGfbKKeqe32JBIi4 SRlMf/5WR95aa7TrnstcOoMl66EKxB7UwdX9V7LLUpRBV8t4dyHMqHP23y+a3Bswu9eKdSIXGJq RI9OJTEVo0ccJn9rCa93TIHksx32x1qgHN8BYRKgw84f7GzaXwMJ37uezQCD1oOWBvqjzstb+ZB gtULpHd3VnHKEbRR95eIuUU9m3mcZeovZznOWGz/ph/fVldLR82fEmueqwveuwPA7Hntf/5B851 x0G7aF54NHbs9YBTIbnuIRUdLUDHITFClGXq9Xz4yscughJjrA6zkYciBk1vbdQVw= X-Google-Smtp-Source: AGHT+IGtKH3W+OrDIrMgRNLSJ6lQuWivLZb2qtc9XCdO8qcNNMjQ2ASFUXd8tZjB/wR93a/1VPqR6g== X-Received: by 2002:a05:6000:40c7:b0:428:4354:aa26 with SMTP id ffacd0b85a97d-42f79851e8amr6218741f8f.47.1764923285761; Fri, 05 Dec 2025 00:28:05 -0800 (PST) Message-ID: <89866400-5131-4790-aa55-542e451ab197@gmail.com> Date: Fri, 5 Dec 2025 09:28:05 +0100 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> <48e6fb4c-2341-4f43-b158-d70a9b391f91 AT gmail DOT com> Content-Language: en-GB In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5B58SR9m1198717 On 04/12/2025 21:50, Brian Inglis via Cygwin wrote: > 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 Thanks Jon, Brian, do you know also why the group in /etc/passwd is ignored and "Nobody/Nessuno" is used ? $ cat passwd Marco:*:197608:545:U-DESKTOP-L2T1NQ9\Utente,S-1-5-21-1151457081-841113255-780074606-1000:/home/Marco:/bin/bash $ 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) $ uname -svr CYGWIN_NT-10.0-26200 3.6.5-1.x86_64 2025-10-09 17:21 UTC Regards Marco -- 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