This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in Cygwin Windows 8 group permissions


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:

<http://cygwin.com/cygwin-ug-net/using.html#mount-table>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]