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: 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=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 To: "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: References: In-Reply-To: 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 Content-Type: text/plain; charset="utf-8" Content-ID: <52646D8D7A558E4A9A75C766A8569B65 AT namprd04 DOT prod DOT outlook DOT com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: j0OKzvgqOoCcNRh2ENcwiuEFNw2PJuvSy1q1GNH/bheNYfYZrXGquX5qT4YbWTheRXZQQt4rumnKc7BLgVbh0w== X-IsSubscribed: yes Content-Transfer-Encoding: 8bit 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