www.delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type; q=dns; s=default; b=cvWZ | |
GDZLcKz5qRFJsPAZA78oPGpCBHU+V3aCdOxWJAq8QPOAf9NdD4SQP032Y8zbVteq | |
TEnC4BBsk+5z9Ow5kyRfMcMZdCyGqSVltAhcfRhlFlapsgYo1+/8GpODhpay9D/E | |
NMLeW8WMgdi8AlWyIAr4suVNhFbKw8RPu65uUhU= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type; s=default; bh=7f9cabW6en | |
ifobshXBkyk6SA5ls=; b=WkCh7diNJjWnyU9SEyfS9eG6mmnCCjfRUsp4FPBR/V | |
OVFoFUpn+/hh9ivq6Xamus3spEcjXB+Xg2BgLANKdDxQjTif1eB+DnxOUECpBE06 | |
Zy+wmfTC27CsJVhUzkwAEG6Iu1zOxDdslAG1jD9JF3XzvoVHFrRqiYx6a/a58YTe | |
g= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 |
X-HELO: | mx1.redhat.com |
Subject: | Re: Group Permissions on root folders problem (Windows 10 TP build 10061) |
To: | cygwin AT cygwin DOT com |
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> <20150910200439 DOT bf06449af4f1e6efcb76676e AT nifty DOT ne DOT jp> <20150910172348 DOT GB26699 AT calimero DOT vinschen DOT de> |
From: | Eric Blake <eblake AT redhat DOT com> |
Openpgp: | url=http://people.redhat.com/eblake/eblake.gpg |
Message-ID: | <55F1BD86.1090001@redhat.com> |
Date: | Thu, 10 Sep 2015 11:27:34 -0600 |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <20150910172348.GB26699@calimero.vinschen.de> |
X-IsSubscribed: | yes |
--18xRrKsDFjTFQm4ujdK2uHsSFvrguDpN3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/10/2015 11:23 AM, Corinna Vinschen wrote: > On Sep 10 20:04, Takashi Yano wrote: >> 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.00000= 0000 +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,,*}" !=3D "${LOGONSERVER,,*}" ] >> + if [ "\\\\${COMPUTERNAME,,*}" !=3D "${LOGONSERVER,,*}" \ >> + -a "${LOGONSERVER}" !=3D "\\\\MicrosoftAccount" ] >> then >> # Lowercase of USERDOMAIN >> csih_PRIVILEGED_USERNAME=3D"${COMPUTERNAME,,*}+${username}" >=20 > Thanks a lot, much appreciated. Patch applied. [ ... -a ... ] is not portable; there are some inherently ambiguous situations that it cannot handle. POSIX recommends that you spell it [ ... ] && [ ... ] instead. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --18xRrKsDFjTFQm4ujdK2uHsSFvrguDpN3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJV8b2GAAoJEKeha0olJ0NqKaQH/3Zugs6Xli3qrvlBEjIVT3pD p1rg0yB8XcAR594Gocy7ThCRsNXMLefKVmLfb/HOt3A6cicXhrsTIjqUnpAFkdcd JsmA3X4cVUzamDUKeTd2Itb0/O7iWKuut+k+m4d8hf3t1L7+VDoMD2Q6t1K476x6 E3KZ0Z9xC4MBCggSVrvo2pxLE1q8HxiFtxKkLOV5BKzIPu0rAC3kJy4EnqADpsWL VV76872S8P+oYjWDjz05b4Oz5rwGbd5WME82xR9m98RCNf2REyTc5NATLflQpL5a 5e9w+btNakWPkjXZ6BhdbBt4tbVZxluuzveQKqX61MNbrJ8RjhaZr/xMALCyme0= =pHXl -----END PGP SIGNATURE----- --18xRrKsDFjTFQm4ujdK2uHsSFvrguDpN3--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |