From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx07-00338601.pphosted.com (mx07-00338601.pphosted.com [185.132.180.155]) by sourceware.org (Postfix) with ESMTPS id A05F73950417 for ; Wed, 3 Mar 2021 12:59:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A05F73950417 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ext.eeas.europa.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Panagiotis.KAVALAGIOS@ext.eeas.europa.eu Received: from pps.filterd (m0159274.ppops.net [127.0.0.1]) by mx07-00338601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 123ClLo6009887 for ; Wed, 3 Mar 2021 12:59:07 GMT Received: from belbru-exmp102.eeas.europa.eu ([185.239.100.44]) by mx07-00338601.pphosted.com with ESMTP id 370jqnkw8b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 03 Mar 2021 12:59:07 +0000 Received: from BELBRU-EXMP101.eeas.europa.eu (10.51.4.101) by BELBRU-EXMP102.eeas.europa.eu (10.51.4.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Mar 2021 13:59:06 +0100 Received: from BELBRU-EXMP101.eeas.europa.eu ([fe80::84a9:3dc9:d6bf:719f]) by BELBRU-EXMP101.eeas.europa.eu ([fe80::84a9:3dc9:d6bf:719f%19]) with mapi id 15.00.1497.007; Wed, 3 Mar 2021 13:59:06 +0100 From: "KAVALAGIOS Panagiotis (EEAS-EXT)" To: "cygwin@cygwin.com" Subject: RE: Home directory was not created Thread-Topic: Home directory was not created Thread-Index: AdcOr1U2Jt/TaCguQv2GXvAbfXSQlgACeNGAAB5TOgAAAgvFoAAUrjiAABvRnsAAB8JFgAADxqVw Date: Wed, 3 Mar 2021 12:59:06 +0000 Message-ID: References: <65851a08-a0d3-4fca-a956-77cf73459180@SystematicSw.ab.ca> <24934718098a4d26a65b68ef62f3b46e@BELBRU-EXMP101.eeas.europa.eu> <4125b749-86de-ae02-43d9-16ff5a8565cd@SystematicSw.ab.ca> <0d21a331911b4733a5e638a7c72d7ee2@BELBRU-EXMP101.eeas.europa.eu> <1097399271.20210303145535@yandex.ru> In-Reply-To: <1097399271.20210303145535@yandex.ru> Accept-Language: en-GB, el-GR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.51.5.118] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-03_03:2021-03-03, 2021-03-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxscore=0 bulkscore=0 phishscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=651 suspectscore=0 malwarescore=0 adultscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103030097 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 12:59:10 -0000 > -----Original Message----- > From: Andrey Repin > Sent: 03 March 2021 12:56 >=20 > Greetings, KAVALAGIOS Panagiotis (EEAS-EXT)! >=20 > >> All postinstall steps failed because of BLODA or installation path: > >> > >> 2021/02/09 17:48:06 running: C:\Program Files\Cygwin\bin\dash.exe > >> "/etc/postinstall/0p_000_autorebase.dash" > >> 0 [main] dash (2296) shared_info::initialize: size of shared > >> memory region changed from 49080 to 40888 > >> 2021/02/09 17:48:20 abnormal exit: exit code=3D-1073741819 ... > >> > >> Installing under Program\ Files causes issues because of space in > >> path names and BLODA-like AV protections on those paths. >=20 > > The installation is performed by powershell script that runs with the > > super admin (system user/nt authority) from local repository that > > normally bypasses all those kind of AV restrictions. I start it from > > the Cygwin icon that runs mintty under the hood. I don't know who took > > those 8KB from the script's shared memory, but indeed it looks like a > > BLODA interference. I will ask the package to be re-installed. >=20 > In such (administrative install) case, the Cygwin user directories should= be > redirected, f.e. to the user's profile, IMO. > See nsswitch.conf for examples and possible options of such redirection. Yes, I am aware of this, but I prefer separate home directories to avoid co= nfusion with the Windows programs. For example, we have Git for Windows and= Git of Cygwin. The former consults %USERPROFILE%\.gitconfig and the latter= $HOME/.gitconfig. You might need to set different options according to the= environment you are running git and if they are the same, this is not poss= ible. > > We are running Cygwin from "C:\Program Files" for years without issue. >=20 > Coincidence, I'm sure. >=20 > > A space in the directory name is a very supported character for Unix > > and Unix-like systems as well. >=20 > Except script writers rarely account for that. Unfortunately. That's true, but instead of advising for non-space installation paths, let'= s all install Cygwin under a space-containing path and identify all those i= ndividual cases. The space character in the path deserves more respect :) Panos