delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/06/16:24:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=lDMhpgD/Tck2Ip6dG4/X6g85C3EW99+kNM0MCh00y9Y=; b=E9bNn++lMjC01I1smpBZnQADdtc+j+xL1i63sEA9fdzy3fiQMEzSV4BbvMB/tE2yiz ZomSyXzi2JFuJvQrdhRhQ+owRYdOj6V+Ey5+HQdnQMeHhUIjDrPo0CJT5A1sdfe8Uynm ul1nDl1zqk9Cl/SPvg5CwhQV3hkR7cXSiBnxWHIH52JtvZiECve4bJRYaqK64xW22mZi PZL2wonNbtK+qyBEwZNkRuaLbCBvpOmfR/L2T7gx65yETRWnNP+HM9MhIXrS55Yz5EkX 5NcbC/p8HqisANZW6ot21W4FTQo7COQXDgM2nWcf8agwvzcA83pPsr8lCCl+UEbJLDJT Cxtg==
MIME-Version: 1.0
In-Reply-To: <50C10B52.8090504@gmail.com>
References: <CAMgm8F3N-TnySJUNj0WQc8nvyz+KY7ze=9_aS+oXPB-kC5RK8Q AT mail DOT gmail DOT com> <CAMgm8F0G0rQ-to6Uy3pF=u52XBAODdSufE3nmt72gqgN6tyDXA AT mail DOT gmail DOT com> <50C103F6 DOT 7020309 AT gmail DOT com> <CAMgm8F2FP7qdc8=Sd+12fB5L-wOEZxUC_G=RT7f3eZJk4zikzA AT mail DOT gmail DOT com> <50C10B52 DOT 8090504 AT gmail DOT com>
Date: Thu, 6 Dec 2012 16:24:04 -0500
Message-ID: <CAMgm8F1V518vDMRWjthQDfOLt=aywwRrs4YZXBpGLTQ7EwDxcA@mail.gmail.com>
Subject: Re: Bug in Cygwin Windows 8 group permissions
From: Chaz Littlejohn <chaz AT pokeit DOT co>
To: cygwin AT cygwin DOT com
X-Gm-Message-State: ALoCoQkYjHzjFVb3WSEJZzIZumu7q9cXhFonUK03guL3nYvJ9KeLoSnPrDdy0Nbzyb0ZRvPWu52A
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, Dec 6, 2012 at 4:17 PM,
> On 12/6/2012 10:10 PM, Chaz Littlejohn wrote:
>>
>> On 12/6/2012 9:15 PM, Chaz Littlejohn wrote:
>>>
>>>
>>> a workaround was already available on first link you provided
>>>
>>>    chgrp -R Users ~/.ssh
>>>
>>
>> I had tried this earlier running the chgrp.exe, but it threw an error
>> saying unknown group 'Users'. I assume this is because when chgrp.exe
>> is located outside of the default cygwin directory, it doesn't know
>> where to find the group file. I also attempted to create a separate
>> file where i'd dump the contents of my private key into, but that file
>> seems to also be afflicted by this permissions problem of having 660
>> with no group set.
>
>
> have you a /etc/group file ?
>
I have one in the cygwin install directory. It's not clear where the
/etc/group file should be put if chgrp.exe is being executed via a
shell command and is located outside the cygwin directory (in this
case it's going to be located in an application folder in
%LOCALAPPDATA%).

Chaz

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019