This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SMBFS mount's file cannot be made executable
- From: Ken Brown <kbrown at cornell dot edu>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 15 Aug 2019 01:28:19 +0000
- Subject: Re: SMBFS mount's file cannot be made executable
- 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
- 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-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UR5Db/is1Mk7PsUKWEgs1PmPmbHSmqSf6/tneBHZB5Mtocgyir/PA8cl5gGdkf7rktvFrCHgo797aQJF98vcLCvwVpWFCzNCGaGLBaiXrjqtPIO0EVGbVIw3qK7R36sLhWurS4PoczDfKFfEyEvR2nEOkI3rgFUuMxlXmryCfqA2pk6xWwweFBnX9+TsbbojyVvvyBjJLp5pIz38YD2TmzOgA8BZ8SUTLEB6DOy06lNtYUJrlUfsr5unQBw4Cx92DYnSmST4Vlg+NAhohfDJWsb8lI+znzC97Cp4sO/qhY724Kxzsu3xcCMAMpmhWooruUdjOOMvnJQr+84oVr+CKg==
- References: <BN6PR09MB14099AFD9407966A7531B06CA5AD0@BN6PR09MB1409.namprd09.prod.outlook.com>
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