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:from:reply-to:to:cc:subject:date:message-id :content-type:content-transfer-encoding:mime-version; q=dns; s= default; b=Yclx+ZVUeQj2TWbZpa/tpiEAq1hjgYx7Y7wvAT9GzjpdnMRKdRPMz jww4RyU8tP7IpPwC7Bsr+ZgFwEh8iRHpsoJNZhDpKI0OugMsuW5RTTHZQQwxbLBt 8QMRrOtMBSUnLztGtdAud1d3HxowzrQEVVzLrw1ThpVcul5FWtP1xg= 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:from:reply-to:to:cc:subject:date:message-id :content-type:content-transfer-encoding:mime-version; s=default; bh=JCcpUxtK/yWlT+qCys+W6IUsl1w=; b=LKzPqIhVC1JefoydrI62bxEJD3nE KV7Mmhx3k1Wv3HnVyHa2WO2YDjEUMC0N8mt/5Z+mz/v/QwtL0hH2/W9cRzz6OwvF Vhcgnu8ZZ7ct9/nnPiJQjfRI2ZIdZ7dTOTRmYBrFbRrEK1QmReVwMET52sGUPU1O QuigtCmA9mmn4Xo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:367 X-HELO: nihcesxwayst05.hub.nih.gov DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1565123946; x=1596659946; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=0XnfOKcas1uy9SvsBHzdpUrCk+EIdzjEkfMBnvpJ1Jc=; b=mvTLYVCeO5nan9/LwT4TYoYFQHs6LfAfR81P6JUSVWudKpWzqhb/lK9Z G6Tcen/IlIUQ6jXPHeBdQJ5EEnkQQ1nOWoJxuRXp3jD/jmVeEKgQ10G25 w1t+blSOW+ggDfLwkpagnP7plSC0+w+hnHr3Yp1jjBNBfBRrkgvKL4F+9 kThoS3UlogFpCRzd2yA28QSTuxw+gcf1X6gJwasmyFKRistr2196O2K9r 4C4yvg8ABhBoUcssJP95H4gqlPyk5Idn0GRT+QHLBZ/5a95xmGIFMJZN3 XZmW01UnPfm81KUu94AcxaK/htdSxbDghH6ihC9Lo5DK3I4EvQwv5Ysss Q==; IronPort-SDR: OEn7GEHPbPa7MFOLOHJ3CLFdPi663TBTEI10yI8ZIqpgyiy2Iji/JqV28JKbW6AhGK/4OuN5QH Z6QDcheLnvog== ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RSTxFCHwmhOAoJtd0izL60MVW35PbiLNuxcWnNRJ9ONMixw/GP9qC5wIngLfsT6qLcs01zI5A9EDbvcG/tuTmkBpKhRvrCTFda9fPBjdVaA7b5+DZWvDyOFzNZv3BA1fmH8VKABIvO7kbQbk4sD/xuKhvbs4EL4xo8FDI3CgJ8OqHNsJpjeeikxlJcz5XlKslsoKAqDoXivDuk5NZ5c0lG+LY4+IhXUGlkE9mNIlSKsMS//sd8A2L5JS4vmVYgwJtvHRNhNVyekDK6ZOkP8LxKIkcFqpSRmH6HqmnAZ3AQbLd6X+IoaqAivYnRpcu9tXjxd/CShv84pvYTdoTwoixA== 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=0XnfOKcas1uy9SvsBHzdpUrCk+EIdzjEkfMBnvpJ1Jc=; b=c0cZCXVJqJSC+U/8jOrF7Pw5xjw4b5qOirTUkkV6bYTFkzUXA1/2mEmfF0GD2tdbq9z5LYiK9l3dEuDSUTuVTNquqKB+wu9taFsVN3ft7ZC1YSNimb25Yp7mdvyEtRmeDXKdnYPVme7j4z04PI37ISm/IWvnrxjA7GNMWGHETN5WslhEeNGL0YLQKWfDVQd0FFzvEgUV8K7PDyZ3AXAQ8g/yOtIAIBtHxOTm/K1+HZ/rGX3fOMZI0tzOuyNjVaxdJckx1w0Fk/qdWlijoARvH4nnQU4WZbEHoIekrXw07Qhd8DmNeinxngeTY+KgkwvwPZjg4eL38NXjHIL16IMSDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ncbi.nlm.nih.gov;dmarc=pass action=none header.from=ncbi.nlm.nih.gov;dkim=pass header.d=ncbi.nlm.nih.gov;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector1-nih-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0XnfOKcas1uy9SvsBHzdpUrCk+EIdzjEkfMBnvpJ1Jc=; b=cRLjWwzMMZmZUzUFnsZBu5/o8h2pSgY1t6DVtOfbDw/FBhycJ8CqbU+I0v/Ru3cv+JRG2LP8HZ9kkLK2JkoxPWhKS/yXo9zHMATy2ERbjvmuSUjw6XLuvfKgxO0pfdlVhEgfbnE9AnNFb95ac+ZIE6/d1iLpGku3e10hMJo0SYk= From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: Ken Brown CC: "'cygwin AT cygwin DOT com'" Subject: Re: Empty file without "x" permission is successfully executable on Cygwin Date: Tue, 6 Aug 2019 20:39:02 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr AT ncbi DOT nlm DOT nih DOT gov; x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: O+asIdUs/ckysR7JXNDzS1XsmzXE/YMv36HwUgLlBJriFp0JkuPWv+izuuXiu27R Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x76KdgZx004313 > But what's your basis for saying that an empty script shouldn't be executable? I meant it only in the context of the script file lacking the proper "x" permission. Of course an empty script _with_ such permissions allowed must be executable, and it will always complete with exit code 0. -- 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