Thank you for your replies.
The permission of files under ~/.ssh can't be changed to 600 when their
group owner is None. I have to chgrp -R Users (or Administrators, or any
other group name other than None) ~/.ssh to make it possible to run
chmod on them. I suppose this is a bug of cygwin on Windows 8/8.1 ?
I changed my GID in /etc/passwd from 513 to 544 to make my primary group
Administrators. Now the group owner of the files are turned to ????? .
Is it OK to do this?
在 11/9/2014 11:33 AM, Theodore Si 写道:
Thank you for your replies.
The permission of files under ~/.ssh can't be changed to 600 when
their group owner is None. I have to chgrp -R Users (or
Administrators, or any other group name other than None) ~/.ssh to
make it possible to run chmod on them. I suppose this is a bug of
cygwin on Windows 8/8.1 ?
在 11/9/2014 11:05 AM, Larry Hall (Cygwin) 写道:
On 11/08/2014 11:17 AM, Theodore Si wrote:
Shouldn't I be in the group with the same name of my username, like
in Linux?
No. Windows isn't Linux. Of course, if you want to make a group
with your
user name and add your user to that group, Windows will probably let
you do
that. But that's not a convention for user accounts on Windows.
--
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