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-id:content-transfer-encoding
	:mime-version; q=dns; s=default; b=IRVDoMggNe/4D0XlbQvtdmJosrRbf
	/KKYZRYeqswrPuFKH6M09K01iiQITGypY9h/cvdTBf9XB6zoRKd+0XJeKW7w0EHe
	6vlaI/hMk18/nyTeEGBnCfAUod8sUexerIjPxYwO/uXwoKIRh9+0EvktqCtGrcaM
	RUWaJ9BYoeDZkI=
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=9MxUstqyufzurpoMtq702lYEadc=; b=TdD
	CLlpOdDs2G17cPUsHrC9n+AWn2i7TkB6Y4uR4GjTycW4W0Y3VBHe+idl6pJEx6am
	me/PT0YihgIU3WjwmfxvbP+g7N8XomjNMrrP/jiBSoU7NFqPjrcvN7yj5E2ZAaO/
	Gtwtg0EKdyKb78H6WbCQpo6FfTE61YihwoxdBAAI=
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=-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: NAM01-BN3-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UR5Db/is1Mk7PsUKWEgs1PmPmbHSmqSf6/tneBHZB5Mtocgyir/PA8cl5gGdkf7rktvFrCHgo797aQJF98vcLCvwVpWFCzNCGaGLBaiXrjqtPIO0EVGbVIw3qK7R36sLhWurS4PoczDfKFfEyEvR2nEOkI3rgFUuMxlXmryCfqA2pk6xWwweFBnX9+TsbbojyVvvyBjJLp5pIz38YD2TmzOgA8BZ8SUTLEB6DOy06lNtYUJrlUfsr5unQBw4Cx92DYnSmST4Vlg+NAhohfDJWsb8lI+znzC97Cp4sO/qhY724Kxzsu3xcCMAMpmhWooruUdjOOMvnJQr+84oVr+CKg==
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=od2MRiCncLMJW6bGJJrZ22Xn2UYxSZMbu8wCFL0LAlk=; b=UWNnp6dCQ0Sn3anVwMp2i5gNS0vhEhFFtpk69+tnpayEkC8RnpOH2VPoW8J+zjtgupyexNBKXfsLR7Kg6ITa80J1HyOCcmnIxTgVHF1HHKVtVRNFZyRqR6bn7a9dq6ojtiwP2vK/LeK6uMFLJFcvF5iBJtJLcKYiWcjVlTsz1GtdJ6x2lOtOU1lggZ6ObzB/wLxAfz0kWcOAZXY1nIz0KSQdiB1FmhIdiCHMwi6SPCqw0bT0b6bx8oPZkf3qF42DH+tB0dW2sxmLkzkTMrzmXT5wdKHbRdLuNQqa8s1I5xr4WIifHDtQfpNCGMOijAc6lGN9UKrqLgElyMR6Sf+UWQ==
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=od2MRiCncLMJW6bGJJrZ22Xn2UYxSZMbu8wCFL0LAlk=; b=NteFxSrRzQSuFU0pntwQ0nP7MLkeAVGE8nAViKDdRELr36gKwDfuWR+bQrCsuGfTWRm6jAaqEkSZnklA08VxyLws9t5HEOsODYfNqacXk1BH8a5NM5W+7TPCchcVUH3A0K6xwe8Di4H87HRtf//fEtf7dkWR3jsTWdiS20q3akQ=
From: Ken Brown <kbrown@cornell.edu>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: SMBFS mount's file cannot be made executable
Date: Thu, 15 Aug 2019 01:28:19 +0000
Message-ID: <f943f787-f74a-bda9-15c4-bcc6cadea647@cornell.edu>
References: <BN6PR09MB14099AFD9407966A7531B06CA5AD0@BN6PR09MB1409.namprd09.prod.outlook.com>
In-Reply-To: <BN6PR09MB14099AFD9407966A7531B06CA5AD0@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@cornell.edu;
x-ms-oob-tlc-oobclassifiers: OLM:4502;
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: <3B316EB2737B144484E9940585E34B6D@namprd04.prod.outlook.com>
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: L/rGhmQrccpshQKr5H7F0GZOSTaGYViCxkEO6fjDXdzYCW/DXlXkEquvpSlG4fdmsJnjPoK1erBkmFsxmCTbDg==
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x7F1SvBM020378

On 8/14/2019 10:07 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin 
wrote:
>    249   98510 [main] getfacl 3412 __set_errno: char* __acltotext(aclent_t*, int, const char*, char, int):1644 setting errno 22

Here's where the EINVAL is coming from.  The source is in sec_acl.cc:

char *
__acltotext (...)
{
   if (!aclbufp || aclcnt < 0 || aclcnt > MAX_ACL_ENTRIES
       || (aclcnt > 0 && aclsort32 (aclcnt, 0, aclbufp)))
     {
       set_errno (EINVAL);
       return NULL;
     }

This is called by acl_to_any_text, which is called by getfacl.  Any 
chance you could try to debug this?

I'm about to go on vacation, but I could try to help when I get back.

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


