delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/14/07:23:48

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-id:content-transfer-encoding
:mime-version; q=dns; s=default; b=FVWaeD4cT3dixvZnF0Hqzn+QwB0hh
k3j8bjj5CJzdxsCRSzUDfCiKOy53G3cxF3jwluKi72/C0/pAIZaJbgaMwvPNJ6Js
u30NbW5zXBQ8qVReKwWP4et/6eKlhKgHBIohob/PQmrUBTNiYcJHwDQalINyghGv
laPdw6jzdqfBOA=
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-id:content-transfer-encoding
:mime-version; s=default; bh=iBlwlk+o2aMyXoUWG4vwdn+DU6w=; b=dOC
sz9feNFSRYfnHebUGgp5k6EIRNjLyo8+1cqHPUWLqmj1kt3WaLponFK9VZ/70clF
knGzwTLP9/iZ3mBn1BMt+TSk8i8P1IC6lJjNIlNHYb2Ms8vvpAJd7/+LGwnnvEFk
Xc5+0sZjXYl5ALkkJdHUOVZTFYA0Eef1EH4j8xi4=
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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: NAM05-BY2-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IMPHrCI4EFj1WenI+tvIOcOoLPDRQEzmFBX6lWFPNNPryIGJQTwdfOqDF06Dd8DLMLcDAOzFQW25HYFr9/MFVWgvRINhSboxrBvSDNk+ISug2hmMGqOydAt4WTxq0KjItYnCCeNY7fWYgQlW6TXoGldvZ9rX+8kWOQWQFDiV1II7DgxA2o/vjDQ6EGpBDST9XmbGGEvLn8M5YKVTQR86gs0l/LTOv4cNOj7KIJRs2cBHv0LV5zgK8Rat84jYTdQDWDO6emBiotFExPoEGuEQVy8+r4e2fIvXkdHHVFbZ3NSvtx/NsUPCAw29cj9r/05XxXegy4LuMpymDbIGS3sPpA==
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=zndyqkTyXBZbIxRVh9sEPgiBeEM0Alfl/IpGiGoALII=; b=mKmM34ogHvvNi8wMjZwg8s6+vVq0Cpn6vKpMJNd6ptWmJMejDQqTz26Lgfhb1+8j5Q5o4W3OzEV6gIz38soOgPquKz1jQWCkJ5Ap7RLtGcjca93hwBul+wLyckgt+LUxMCwOnRiKNHPesqKI6dKamrAvBJDnjAxeA9xyj88xHqndEYC3JOFc3+eBjW07kYSnSJXvctye+WOFLkqmRCeZHREK3rqbexdNhg6lFtpVhIj/wKvOHvgwpM43Bn/9xLa3z4RxEh+5SE8MeGsR/IMNrz+7wpukdO4fZiYw8cyueSHII1dVI/cnFbWcdUQpkRPUcKfruk4Wv6LO2bU9sE9emQ==
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=zndyqkTyXBZbIxRVh9sEPgiBeEM0Alfl/IpGiGoALII=; b=e85Ruvc+8nuUD19kgEEgzIodu4BFLJS/1CKiSdmqGJNdML+sKiRA1SihQSz/3MBzF8+JWoIdzROLYajUyhgX2RXTdbdIDnMcYSdmk/nVzrKCPcs63COGsYy0bCL0zoZ338bRYENJD0MgF8J4MuYPvNST+ndWzwYH+GBPbeWUWK8=
From: Ken Brown <kbrown AT cornell DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: SMBFS mount's file cannot be made executable
Date: Wed, 14 Aug 2019 11:22:41 +0000
Message-ID: <b8a5b7e3-15ff-c4dc-b8f8-8171d41f02a6@cornell.edu>
References: <BN6PR09MB140901BA9E9507E7F6BE860BA5AD0 AT BN6PR09MB1409 DOT namprd09 DOT prod DOT outlook DOT com>
In-Reply-To: <BN6PR09MB140901BA9E9507E7F6BE860BA5AD0@BN6PR09MB1409.namprd09.prod.outlook.com>
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 AT cornell DOT edu;
x-ms-oob-tlc-oobclassifiers: OLM:4303;
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
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: j0OKzvgqOoCcNRh2ENcwiuEFNw2PJuvSy1q1GNH/bheNYfYZrXGquX5qT4YbWTheRXZQQt4rumnKc7BLgVbh0w==
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x7EBNT7r007640

On 8/14/2019 12:23 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>> Have you checked the default ACL on the directory containing the file?
> 
> No, and there's nothing special there now that I checked.  I can change the "Read & Execute" for the .exe file from the Windows file properties
> without having to deal with anything special or additional (like inherited permissions), so I don't think the containing directory has anything
> to do with it.

I suspect the containing directory has a lot to do with it.  You shouldn't get 
an "Invalid argument" error below.

> $ getfacl /cygdrive/z
> # file: /cygdrive/z
> # owner: lavr
> # group: cppcore
> user::rwx
> group::r-x
> other::r-x
> getfacl: /cygdrive/z: Invalid argument

Running getfacl under strace might provide a clue as to what the problem is. 
You could also try running /usr/lib/csih/getVolInfo.exe on that directory.

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


- Raw text -


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