delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/13/04:29:21

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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 DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 AT BN6PR09MB1409 DOT namprd09 DOT prod DOT outlook DOT com>
In-Reply-To: <BN6PR09MB1409EACEBA48577B4C6CC3D2A5D30@BN6PR09MB1409.namprd09.prod.outlook.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019