This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: TEST RELEASE: Cygwin 1.7.35-0.3
- From: Warren Young <wyml at etr-usa dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Feb 2015 08:17:04 -0700
- Subject: Re: TEST RELEASE: Cygwin 1.7.35-0.3
- Authentication-results: sourceware.org; auth=none
- 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>
On Feb 25, 2015, at 8:07 AM, Corinna Vinschen <corinna-cygwin@cygwin.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