delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/12/03/07:51:36

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5B3CpZIH4149868
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 5B3CpZIH4149868
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=gbqFUd08
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E10AC458280E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1764766294;
bh=TCCzhejEaKB9CGrVfbCteOkOA67M9bYSSs0oa9WXBZg=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=gbqFUd087dhgD8gL7DUxGTjicKLvJRdC5MARumqOV9DbYvoEt7GU3j9eWpqoDKuPG
vKLfxdQZgDtfE7JEzzM1DwNUrwBkHckVpc7C5jYoAdcoR3vC87rdWg8i7/QsqCYjwh
4lbwMrjNwVgzwRKVLTZXXA8paifxzw7Kqofdwnuw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3B034D8D1F7
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A3B034D8D1F7
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1764766275; cv=pass;
b=H8b83rqZd1Adk2PKuUgJSm+0W4wtU7+68hCCJRsWQJM+U8pNtulT0cxK9hsEe7kPGZjAGktxRbnFPu83RnmZMPTRWCoYMCKKpMPjs//q5OZVvF6HKgXjwjpaW+pyX8ClPxz3L4N8AXtQew9zpjQoXP+VK9R40HlBGJ4Eclfovzw=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1764766275; c=relaxed/simple;
bh=ncyqHWjk+OEHwuCEHFLFeM1tSTg2ToSaSEc2A7e8xQY=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=tcgIlw1cbWQwIFS0d4S4wK4dAcCYGECzU3MkJI0VbDFF3yL5mT4eAlRlcKi9hO23wvctzruAXJwoxyBY3jYuxOhxxSRSWlN0yg+EglUBqhJd5H+7Lm+WTOQBA0T0AHYIWvSB5T+Uc+0ApN1zoGdKHmgX1naWwLr4fMciuEDZckg=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3B034D8D1F7
X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org
ARC-Seal: i=1; a=rsa-sha256; d=mailchannels.net; s=arc-2022; cv=none;
t=1764766273;
b=uaG4/U+jL1cqE+OhenGRfLtI2nNGD9W31tYWdvO3aIQjlgnu7gQkVhLi+GIaksHgPKtFFr
8ixJ0zEorI/LyWh6eCtlFvu6ZkvGLDxG8PYPhV1g4mgqLGIoW9TYIiM+O1DGgC7JTxMyUF
yG7bVFjadju4IxUjt15OpR01O3bM60cjiv7U5WS4Qsu2OQj2LKXN7LctmQoS2iFZs4p0NX
hiqqvmj78oEcUwEfnKIZGTiDsivD8tWL9f4vQeK9CFL42/AVVWrCAFpPrHos8+Jt9b50w/
vVrVqSCw/qWH7PH4co5nvzZoKC4WYFhuBACpQsHg/Alg+il8t66JuecrNQWlzA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1764766273;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=W1lPpjjz4y4gqBOxunDiXIAI5AGUkkDQFdFiB/0CZGM=;
b=DrXfbmcY5IU1kg1kPAQrj6PwGlHbi6d4RACCYPB0btSrI+RN7fosfbOECq2lhnP5du5c6v
dBXfFojZFsGJ9cALDlFV1zaxrChwLN0f++VvkwnUaJ8TRPKXbjYFPrlXlgWuLFwhDcF3QP
l2AlTTypMY86JOHEtaYVCNisXilL1qQRwLYsorIoxHRE+wWtEMO/GIgKIKZA96iMnLatHb
LyoRUb0Ka6cAtWbr4Qp1SCDMT9BTGaENsMD1YtYmGNc4KuBEf93yDk4fjLvSMaMV7hbC3m
rpVGrDNYL/u87UxNFeQ8Bghso3lg6nuO4wqHBN3sjP2De8KdRFV0K88vZcBx/A==
ARC-Authentication-Results: i=1; rspamd-57b9fc4dc5-rvxth;
auth=pass smtp.auth=dreamhost smtp.mailfrom=roland DOT mainz AT nrubsig DOT org
X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|gisburn AT nrubsig DOT org
X-MailChannels-Auth-Id: dreamhost
X-Daffy-Harmony: 1fb8b8c1722fd992_1764766273662_2291664962
X-MC-Loop-Signature: 1764766273662:1123998537
X-MC-Ingress-Time: 1764766273662
X-Gm-Message-State: AOJu0YzQV3m4QoqXclKXVEFLriPEbfdTH1klj4EECCjdj8tptRnHneIL
D8Dn04913cO4xNLUzbrJBOSvAs9fQUpjY2QnpHmyapuhdwnxy1jDqJk+BG0bGsiOqrSq//Rx/MV
gE8dxdQnJBjOhmFyueBBF5sBt2qTK288=
X-Google-Smtp-Source: AGHT+IF3BYhJYM5dmkC2t8VlB3I/GNGFDeTUQlEy4NTQMiA7jk8MFWqTo738/4yYiZlco0Q/yJgcCCh16kdXrA6KCwk=
X-Received: by 2002:a05:600c:4f81:b0:477:bb0:751b with SMTP id
5b1f17b1804b1-4792af3d3f6mr22433525e9.27.1764766271641; Wed, 03 Dec 2025
04:51:11 -0800 (PST)
MIME-Version: 1.0
References: <3a9f1d9a-d363-4617-bc24-e2b5aa4d27e9 AT gmail DOT com>
In-Reply-To: <3a9f1d9a-d363-4617-bc24-e2b5aa4d27e9@gmail.com>
Date: Wed, 3 Dec 2025 13:50:34 +0100
X-Gmail-Original-Message-ID: <CAKAoaQntTmvE8EbKCiJMcySrhHG91a947A8WTvKkv3H6LzhsHg AT mail DOT gmail DOT com>
X-Gm-Features: AWmQ_bmtFvC9fwd0Fh8l_Wttx5iadX4mcjZBliGKRXe4nzPzUXUH147IJA2dDs4
Message-ID: <CAKAoaQntTmvE8EbKCiJMcySrhHG91a947A8WTvKkv3H6LzhsHg@mail.gmail.com>
Subject: Re: group '545' does not exist ?
To: cygwin AT cygwin DOT com
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-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: Roland Mainz via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Roland Mainz <roland DOT mainz AT nrubsig DOT org>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 5B3CpZIH4149868

On Wed, Dec 3, 2025 at 12:57 PM Marco Atzeri via Cygwin
<cygwin AT cygwin DOT com> wrote:
>
> I am probably missing something, but this seems bizarre (to me)
>
> $ id
> uid=197608(Marco) gid=197121(NESSUNO) groups=197121(NESSUNO),114(Account
> locale e membro del gruppo Administrators),544(Administrators),547(Power
> Users),545(Users),4(INTERACTIVE),66049(ACCESSO CONSOLE),11(Authenticated
> Users),15(Questa organizzazione),113(Account
> locale),4095(CurrentSession),66048(LOCALE),262154(Autenticazione
> NTLM),405504(Livello obbligatorio alto)
>
>
> $ newgrp 545 touch prova2
> newgrp: group '545' does not exist
>
> $ uname -svr
> CYGWIN_NT-10.0-26200 3.6.5-1.x86_64 2025-10-09 17:21 UTC

Please use the group name ("Users" in your case) and not the numeric GID.

If you really need to use the numeric gid, then you can use $ getent
group 545 | awk -F ':' '{ print $1 } ' # to convert it to a group name
(see comment below about localised Windows builtin group names), and
then plug that into newgrp:
$ newgrp "$(getent group 545 | awk -F ':' '{ print $1 } ')" touch prova2 #

BTW: There is one issue with this: Windows builtin account names
(users+groups) can be localised, e.g. English gid=545 is "Users",
while in German it's "Benutzer".

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

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