X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-id: <50C113E9.1060805@cygwin.com> Date: Thu, 06 Dec 2012 16:53:45 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Bug in Cygwin Windows 8 group permissions References: <50C103F6 DOT 7020309 AT gmail DOT com> <50C10B52 DOT 8090504 AT gmail DOT com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 12/6/2012 4:24 PM, Chaz Littlejohn wrote: > 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%). The simplest way to determine where Cygwin is routed is to look at what's returned from the 'mount' command. For detailed information on how Cygwin sets up the mount table, see: To answer your specific question though, one level up from where you put 'cygwin1.dll' would be considered the root. 'etc' would be relative to that. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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