delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; q=dns; s=default; b=YKp9NkUt0EB3YPpzpC6gaOBdaHZB | |
eOoQGZ9kFSFdbWsa3IYddr/tCZ8EogLazINLxYME5ezt1duqhmP/OaU/t1VbWX/U | |
aqZ8tbPxz7L2sU2Gt2W9qFLUxTeyKmK57YALlw+kLg3PGMf78xEE9K7PWED/HVW3 | |
GTrV9bXNYfQiWqE= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; s=default; bh=xKMyUmd80TdacNzghfD9JbzJQlc=; b=tT | |
Ggn2q1/x3mh2XSQX7Ny+HwQCUnE4Jm7CD445eT2qMBaj2UwI6yfJhuz95TbjbkBd | |
oggZ/FjvLTddEzgRsHGWRF/8syKIDi6xQsnhZQvN6H9bjX+dWpBYYgoXLql4TAnJ | |
kZrUpu6FRt6R1Rbqrbm5phvXIUFQ4qEAmJCVH35lI= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | etr-usa.com |
Mime-Version: | 1.0 (Mac OS X Mail 8.2 \(2070.6\)) |
Subject: | Re: TEST RELEASE: Cygwin 1.7.35-0.3 |
From: | Warren Young <wyml AT etr-usa DOT com> |
In-Reply-To: | <20150225150744.GD437@calimero.vinschen.de> |
Date: | Wed, 25 Feb 2015 08:17:04 -0700 |
Message-Id: | <F996F677-DC40-4F15-AD58-2C090257B423@etr-usa.com> |
References: | <20150223174709 DOT GB26549 AT calimero DOT vinschen DOT de> <CAFrJEvNKjG6JSWk6w1HM2wtC-CEX_FJOYtsjaeY7o1XX2uWD=Q AT mail DOT gmail DOT com> <20150223201119 DOT GX437 AT calimero DOT vinschen DOT de> <801DB7C4-3F66-468F-B786-0C7575897D98 AT etr-usa DOT com> <154114676 DOT 20150224063913 AT yandex DOT ru> <9D7B3952-86AD-4EA7-8146-E985ADE2FE4D AT etr-usa DOT com> <1528837107 DOT 20150225032328 AT yandex DOT ru> <BE04216B-2ECD-462D-86E4-AA4E3433FFB7 AT etr-usa DOT com> <20150225090115 DOT GW437 AT calimero DOT vinschen DOT de> <90784C48-04A6-4163-9566-43EE4CC0BF1B AT etr-usa DOT com> <20150225150744 DOT GD437 AT calimero DOT vinschen DOT de> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t1PFHKu9008462 |
On Feb 25, 2015, at 8:07 AM, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote: > > What about chgrp `id -g’? That does exactly what you *don’t* want here: $ ls -l id* -rw------- 1 Warren None 1.7K Feb 25 08:12 id_rsa -rw------- 1 Warren None 398 Feb 25 08:12 id_rsa.pub $ chgrp `id -g` id* $ ls -l id* -rw-rw---- 1 Warren Warren 1.7K Feb 25 08:12 id_rsa -rw-rw---- 1 Warren Warren 398 Feb 25 08:12 id_rsa.pub How about this uglier alternative? $ chgrp `getent group 513 | cut -f1 -d:` ~/.ssh/* “None” has one of the well-known SIDs, doesn’t it? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |