X-Recipient: archive-cygwin@delorie.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:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=X71+Uzyg2UfF0ZSDeIzz9Bl6kwoY4
	KXsgx+H8Vwt9878stq6Y25txtJhEt9eCjv+YlKHaswE9NQ8yQb6Inc2nwFnsDlyW
	jsyZqx6OD0jIfru9mZi5BrWhak+lHJomSuNJZbhPBtUw2UWk6moRFMfu0w8T+YF6
	+ptJv1fffN4guc=
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:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=rNEKSlXXcWFeIJtl9OwhvrQsFwY=; b=uAt
	b7lnCm3ug0FV2ySk3jBXjrrZ7a9PPs+BAFvc3KHI7hMKWZl+ALHptWzDX3AgkiXc
	alJHC5orqervOOo15F7GZAi0EYH8wzZW+YmloQdNofBHymt1QBWH0FWnbxLLRMn6
	b0d7mnnqVVZnf1zGwQkJkZDbUeoaeZLdEJPAQt2g=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=H*F:D*eu, mounted, HX-Languages-Length:721
X-HELO: out.mail.ec.europa.eu
From: "KAVALAGIOS Panagiotis (EEAS-EXT)"	<Panagiotis.KAVALAGIOS@ext.eeas.europa.eu>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: SMBFS mount's file cannot be made executable
Date: Tue, 13 Aug 2019 08:28:20 +0000
Message-ID: <6c7f79694744459fb752496326c6776c@BELBRU-EXMP101.eeas.europa.eu>
References: <BN6PR09MB1409EACEBA48577B4C6CC3D2A5D30@BN6PR09MB1409.namprd09.prod.outlook.com>
In-Reply-To: <BN6PR09MB1409EACEBA48577B4C6CC3D2A5D30@BN6PR09MB1409.namprd09.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x7D8T5re012041

> Hi,
> 
> So nobody has any suggestions per this?
> 
> https://cygwin.com/ml/cygwin/2019-08/msg00126.html

That's strange. The execution of a file is also controlled by the way the filesystem is mounted and the execution permission granted by chmod is not enough. You need the "exec" mount option. On the drives that have the "user" option automatically implies noexec, nosuid, and nodev, unless overridden by the corresponding option without the "no" prefix.

The only issue I can see is that you can execute files on your U: drive and even on your Z: if you give permissions from Linux machine. Maybe Cygwin implementation is not so strict about the permissions.

Panos

--
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


