X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=sV7IJ2ldUtI0fH5+ q7yE2dw8MP99qx1EdR0grQ+3GmyD8UiQNAe6mJpOd/6JF+H1yMSl21J0Xfli+IxG T9/AR+OiLEqIl0r3GCH/DrcczPeYk9GcRNmXDnOXP3njraerxrjFYLracxFjBeud M0P0KCCNjWURt3jDM/bt9Q3KHe0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=HPTUJ9EGrsTzdFm1tjVEdB BtsVY=; b=dY2ac30krZYfRBGxG3U7kWIbfXNpOtS0TVrjgC89MiLZqA/lJHGIge RRg9Jbjx9Q9+F18lkmx3uJkjqjKzta5XTF8NRiZQr1MXwxedyJQPHiVe8A2HD3U0 qnamSsVZu89kYJRmT75om+BGVChbsrWSvIA2QsijWwo/GXFJz3Ay4= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pa0-f52.google.com X-Received: by 10.68.136.226 with SMTP id qd2mr23114624pbb.55.1415504198717; Sat, 08 Nov 2014 19:36:38 -0800 (PST) Message-ID: <545EE142.8080408@gmail.com> Date: Sun, 09 Nov 2014 11:36:34 +0800 From: Theodore Si User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: "Larry Hall (Cygwin)" Subject: Re: Should the group of my user be None? References: <545E36E5 DOT 5010507 AT gmail DOT com> <545E420A DOT 2020709 AT gmail DOT com> <545ED9DE DOT 5010308 AT cygwin DOT com> <545EE06C DOT 5080007 AT gmail DOT com> In-Reply-To: <545EE06C.5080007@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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