DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5BECtdoN1276007 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 5BECtdoN1276007 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=QoIc4tJB X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DCE644BA2E07 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1765716938; bh=dK1pgsLkWicwDC7REtQWRXjop4ziUqga+xAlCIt0WWQ=; 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=QoIc4tJBVomukjdWlO/p1BVj+m9Jb15OtUnWIsCEDS0H0VBXOLdlhZvwQfzvocolj fXuwJFb64ul7QpqSqQIDf6hrNRXtkLeSSXWL/agaBNBr+0PNIYS6Dt9UpuJXJufubd ZqK+tTCyX4CDVCczc4fwWny3OTk0kMpQqZ5KMZy8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBB584BA2E1C Date: Sun, 14 Dec 2025 13:55:19 +0100 To: cygwin AT cygwin DOT com Subject: Re: group '545' does not exist ? Message-ID: Mail-Followup-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> <89866400-5131-4790-aa55-542e451ab197 AT gmail DOT com> <0735a463-7382-4374-8b94-b2fe616b5986 AT gmail DOT com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <0735a463-7382-4374-8b94-b2fe616b5986@gmail.com> 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: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Dec 14 10:12, Marco Atzeri via Cygwin wrote: > On 05/12/2025 19:48, Corinna Vinschen via Cygwin wrote: > > > > Right now, our newgrp is commandline compatible with Linux' newgrp from > > > shadow-utils: > > > > > > - A single '-' reinitializes the environment. > > > - The group must be given as name, not as GID. > > > > > Hi Corinnathe current version of newgroup is NOT doing so. > It spins a new shell process Yes, that is expected. "Reinitializes" didn't mean to reinitialize within the same shell, but by starting a new shell with the reinitialized environment. This is how it is supposed to work on POSIX systems. 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