This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Group Permissions on root folders problem (Windows 10 TP build 10061)
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin at cygwin dot com
- Date: Thu, 10 Sep 2015 20:04:39 +0900
- Subject: Re: Group Permissions on root folders problem (Windows 10 TP build 10061)
- Authentication-results: sourceware.org; auth=none
- References: <CAMH9mcFEL3mao+m-DEYM84kC1HOPeSBpZXD+mDf0USobF9oY7g at mail dot gmail dot com> <CAMH9mcFOKjvjiFvvk1ju0ZxBDK28MaktdnYwj5_CjvbgnpVO4A at mail dot gmail dot com> <20150616155843 dot GE31537 at calimero dot vinschen dot de> <20150905155916 dot 8403bea8d4f631c1f7a314e3 at nifty dot ne dot jp> <20150906114444 dot GA27066 at calimero dot vinschen dot de>
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