This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Empty file without "x" permission is successfully executable on Cygwin
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin at cygwin dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 6 Aug 2019 19:09:04 +0000
- Subject: Re: Empty file without "x" permission is successfully executable on Cygwin
- 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
- 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=mVkP7xjcC+0rggQu57+VFbau6pnyQEuSVYsFXyo3hY4=; b=kY9bas7Sobig87J/gs2c4xw5B3VtsivE9Q01QCys1gqgkF+RSFYyhWNnq8qyTTyt+FZt9tctmL05mI+MhZH8qu4nKKadsv9NkexkVtsfv0mBvjBX3rsdJGBCpPcLtEdXQLdkiKu6E4MARhRk+mTgKvSP8TctADLaH14//Hc4xviHc5pFxX199aHHPqoZ8yoUsZB3IGRbLhCs9Op0r6+o7Qi/ciNRFCnO7dTFgAnoKPHqnQfZ39MUrw8WJOyXg8Lg9gjWYsYZAukUVR0gCgy+QAeiXrojWPX2xS3yxzoXdEtid1BhXW0qVZWklkY04GdnzTniFoI2618O8V9mxPJBDw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=khi7kd7y09PoEGxsNN1PZonUqiTwvvRl9xhPp4KC0C1sPdIYAUPwGhwkIUHfjWDDXaBwXHWMrP0I3qhdIyLEfIHKgPlovzmCR0OwsMpcVsRCLUX2LYOGMCHpQhmy2GHfXjEZ8zUnsYBGWa5hNLiWH9auOKNZQS+VMxqZ/E716kIlKyQzs1qTEGxsG3zJxiD1lbUmOy345pJDTj6AYOYmuJQ8iVOZG+EasRzXpjo2KfphGjbktfZnMVoeitRpKvMbPBUBuupmna+KQT/4S9T0tAzXbAN5SSY8+fH3g9YYWxd6iISjUNjbZL5RrMHA26GZFQVeXO2WH41eVXhpTpTJ7g==
- Ironport-sdr: UBe+GX1r8O+wyIPBJIHYtSclgo6s0V4gduBVEe3Ms9LWb5NDEGDWoRdebYRUZ1odhvRa92+/Ul mCdraIVa6Bsqjc4iFaeWg8AwRAeXwXPYS6x8SJsGyH03yX/aV0JR7vKBwb4jfWhoFTtq+29/XS aH3kfx7/X0e6luMQuN964kPLwPYoBKqWGmWj4CDQOuhwJuEpztSsbD4zEaZrggxExkWf2uASP4 Cj0UKvdYtV1bjmziayy9LEbEbdcxjqw1bKBsogCutXmD7GmKI0a2L6s6Ka2cNxohjc/oVSNgS9 GyI=
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
> zero-sized? Irrelevant.
It is actually very relevant. Because executing an empty script results in "success" (exit code 0) -- that creates a false-positive.
--
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