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=Puo6c5mhnfShy5jY fNPOnOmwvamKPY0lySF25F2i8k3bQbxCCZFXcduClrUWvoF/WEESD5TbOsKnB4Lu uI2KXSA5M4cX401OfcNt1uCm/OGd0Cc3bmhuCYJheHF0hvr4hkyxp90EcGE9SdY7 mogcBE8YlyLxif5HeuOuTnxVQ+c= 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=xzvmO7zqeE8Eew9wzPE8kV axWB0=; b=QjxzGIEN0I4U4NrHOOiUGMAXRAcLsQyBob/lh3Dua6YI6i0id2uprE 53eLDNYHVbuP1VCZ5aBFgUN4gIHc2E8Qe7S1LYOAIclE8M0eXslmm+8j+fDqwmZK TRdP+Zqs3wyRpP4xfFc+vE4bBp7t7bpREpLlPbMt64S2gP81iZa5A= 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.2 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-pd0-f169.google.com X-Received: by 10.70.88.165 with SMTP id bh5mr22645154pdb.51.1415503985096; Sat, 08 Nov 2014 19:33:05 -0800 (PST) Message-ID: <545EE06C.5080007@gmail.com> Date: Sun, 09 Nov 2014 11:33:00 +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> In-Reply-To: <545ED9DE.5010308@cygwin.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 ? 在 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