X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=y1uk+xd9vXuIJudNerwv+HCX8o1GZqhoekTHMyqZ83e
	lHnszx+uXjzu/uKofUBH26dHODjkavfdxzYIWENcAFfMEdKpMxvHY0b56Hz63/Sk
	eBqBISA1hWIdSSLfp2v2gQ9iNztPpJIzNqDR9SeVp1NFKpgLtwIZqVlosaRF6wMU
	=
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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=CVDSiV76tKkjQzzzALTsVwpwBnE=; b=kXK/qb3MX3YYHuu7z
	WI/LKmErFaaBmFVv+U4MgpScfZF1ellSKYgfCK9K0QmSgpi4IPOLFgfuLxisd2SP
	PtTQ0n9/XcICxCkWvyqFXJJ3eVWSnnKKGSZUUwkzzwbx3IuzbsPgqP98v9U+ohIz
	HDGvLtSJzrzWwRho/u4/QSLmPk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_DUL,SPF_PASS autolearn=ham version=3.3.2
X-HELO: conuserg004-v.nifty.com
X-Nifty-SrcIP: [116.80.65.201]
Date: Thu, 10 Sep 2015 20:04:39 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: Group Permissions on root folders problem (Windows 10 TP build 10061)
Message-Id: <20150910200439.bf06449af4f1e6efcb76676e@nifty.ne.jp>
In-Reply-To: <20150906114444.GA27066@calimero.vinschen.de>
References: <CAMH9mcFEL3mao+m-DEYM84kC1HOPeSBpZXD+mDf0USobF9oY7g@mail.gmail.com>	<CAMH9mcFOKjvjiFvvk1ju0ZxBDK28MaktdnYwj5_CjvbgnpVO4A@mail.gmail.com>	<20150616155843.GE31537@calimero.vinschen.de>	<20150905155916.8403bea8d4f631c1f7a314e3@nifty.ne.jp>	<20150906114444.GA27066@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi Corinna,

> However, I have not the faintest idea why the cyg_server stuff doesn't
> work.  Anybody willing to track this down in the csih helper script?

I had looked into csih script, and found a patch below solves
the second problem.
> > b) Creating sshd service using cyg_server

--- cygwin-service-installation-helper.sh.orig	2015-02-24 04:57:56.000000000 +0900
+++ cygwin-service-installation-helper.sh	2015-09-10 18:16:38.185042300 +0900
@@ -2867,7 +2867,8 @@
     if ! csih_use_file_etc "passwd"
     then
       # This test succeeds on domain member machines only, not on DCs.
-      if [ "\\\\${COMPUTERNAME,,*}" != "${LOGONSERVER,,*}" ]
+      if [ "\\\\${COMPUTERNAME,,*}" != "${LOGONSERVER,,*}" \
+	   -a "${LOGONSERVER}" != "\\\\MicrosoftAccount" ]
       then
 	# Lowercase of USERDOMAIN
       	csih_PRIVILEGED_USERNAME="${COMPUTERNAME,,*}+${username}"

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

--
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

