From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33191 invoked by alias); 26 Aug 2019 18:24:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 33172 invoked by uid 89); 26 Aug 2019 18:24:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: NAM05-CO1-obe.outbound.protection.outlook.com Received: from mail-eopbgr720100.outbound.protection.outlook.com (HELO NAM05-CO1-obe.outbound.protection.outlook.com) (40.107.72.100) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Aug 2019 18:24:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WCAiAF0wuiywp1YpEpZ8i8z2rroCaqVA6ckX3xuPK4bML7W1LkLWSbh2x7/dOMmU0XMsPa0VXrsi4dYPXuTFBIb1IQK2nJBNeRZ85vVlzJDMGnmIsneH0YAStIzAVfg2nJGwdvR4Eu0mY+uizXKhf9hdCfvMU3TEWCZxWAT1Ss4VQGDGuAcij1TcqW0sypJ7vPTzBJoPrUhvRnbxbVZYHNl8To0rQH3wnWf0tNeb/h6fmGF7SV/klNy3YV3ivwKq+cQNaUrV57mc3Ab4NrAfZ2fmaTt9SkjJ2VrzqmtqQOCkQZXhqRBDK7nqP39w3rBgWQxPqI9uKUdUe5fs+VJyBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z8xImAzcHFUp7/tNNBFpzyTj9ui6O/8KFqJpya7vogg=; b=d7R1p6XQRJNtYpsKusCsJZGwt6Mac4oHirixfUoyxGZJXpHyeARCbe50w70d0vnQgieHwQMPGAgm59OgLi1rVes4mug34lIH8K2go7mWDoMRwxTtWHG1pIHK3IvkHtfHvugieljaCGIhF8Z+OoRsCShczTZgZpgUovLRPtxcVk382Lk98mKsTd3Q3e1HF1HhavQfwJY42i+/iaqBa+guK75Zt8UF17WTlEzDuR0o0+spaxlqOzwasRulS9OU8fUCagna0VDHdQdOgwph0sBkmK8oHZxOPlWsye7ZXH3mcwNnkJu8Jphu/nqFrYdFglHqQPjMOE45Acf2H6n4grgqUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z8xImAzcHFUp7/tNNBFpzyTj9ui6O/8KFqJpya7vogg=; b=MGBP5vof+C1V1lju+2HIdLTAkpIWgaZbmLJCP/3V8s9Akd0AqKu92x+u7VsneXUs8FvwtuSf4qiru0viWbvCPO3U3yLIYKYnCHV/oWVF1KohckrBdFhs+y3YzcQI2VCaaTZ88iHWCXtD6aNOyKuALhhgvbia3gKgi/Hwe+b3hz8= Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB5162.namprd04.prod.outlook.com (20.176.111.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.20; Mon, 26 Aug 2019 18:24:08 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::998b:a76c:fc2b:1473]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::998b:a76c:fc2b:1473%4]) with mapi id 15.20.2199.021; Mon, 26 Aug 2019 18:24:08 +0000 From: Ken Brown To: "cygwin@cygwin.com" CC: Stephen Provine Subject: Re: Future setup regression caused by 'mkdir: always check-for-existence' commit Date: Mon, 26 Aug 2019 18:24:00 -0000 Message-ID: References: <860a3bd2-fc37-27c0-54f3-0fce8add7c24@cornell.edu> In-Reply-To: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; x-ms-oob-tlc-oobclassifiers: OLM:9508; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-ID: <11A18AA4924FD24FA36086B748176411@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xSK0We3Rgq7JbnbVKF5Vbm8mF2h93utYlfBCNshCeUjQwBwaYI2SiHqRcspjuDWm3GNbrFap5J9z4wHrYbewsw== X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00332.txt.bz2 [Please don't top-post on this list. Thanks.] On 8/26/2019 1:33 PM, Stephen Provine via cygwin wrote: > It's possible that this issue contributes to the problem, but the fact th= at you can manually create the "dev" directory outside of Cygwin (just mkdi= r from Windows command prompt) to fix the problem tells me otherwise. If I = understand the logic change in commit b0c033bf3fae810b9e5a5c69f17bd4de63725= 691, it would indicate to me that "mkdir 0755 /dev" in a post-install bash = script (regardless of which one) would no longer work when it previously wo= rked. I don't think you understand the logic change in that commit. An attempt t= o=20 create an existing directory would already fail before that commit; the fai= lure=20 would occur in the call to fh->mkdir(). The commit in question simply=20 guarantees that the error code is EEXIST. Take a look at the commit messag= e. Also, what postinstall script are you referring to that calls "mkdir /dev"= =20 without either checking for existence or using "mkdir -p"? Cygwin's bash=20 postinstall script doesn't do this. (You must have missed Eric's reply to your original post, in which he asked= the=20 same question.) > I'd be happy to try the test release for cygwin-3.1.0, but I don't know h= ow to find it. Can you provide a link? Just run's Cygwin's setup program, select the cygwin package, and select th= e=20 test release (currently 3.1.0-0.2). Ken -- 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