This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SMBFS mount's file cannot be made executable
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin at cygwin dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 15 Aug 2019 02:00:11 +0000
- Subject: Re: SMBFS mount's file cannot be made executable
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; 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=lVM9vCBEkOFfPKxEtyxMaRpSR+SGl7EN8JI5WL3VVNQ=; b=mx5koOoK4ThHuiaEVE9CHSEe/Oh2gs3uQ/y9W/yd+gOzsboWKqxmW9+qaAWcbq39CzVzYU7UAZf4qfyU0SxYQu3pj5Hmiwt8y6Lt0cI7zgsNh+noJqki180MUSe4ICXqGkykWra+P8lhQapdpWUtqpIl1t1VOTfNJbYLhLtIw0MSFH0afZyCL42gW8CGNyj3ZL4mifofvqR+vWcvW0bKTWbL2/9lVs4XTOL93UfD9MxyIaEceQ8mCb6jWdzFyAv9XCufG8Tcld3TNkwL6hkMDygyox+vymxMqhOanf8K4Nmfto5A7ju59SqHKpQSZmFL2UZo+HmcFrdaDf2ACUW4iw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aM1kAZq7dGg0hw0Ce9Z+/cG6SiTvcZRvITr2aJTXJv4b7fN4XMq7bcpOO/sxjOupjdZg6YBWvWF/1wHEeK0JImk5Xk3l9PqZY44BerUw/QqXMX0ecrIdojuwRWlqafUkb67vj3wSIF4pjKdXJcUxb6F5HtaKDavH+A0ntjJ11evHYDBIpozb2Qj6GIKfFkvWIxubuGMICjNBgb1AvsZosadyoBl2b0XS/UijIGRBeFgnRiYzw/qj1P2vxbp/oA2Jj/Onuov8cI8z6TAwOTFhT6Vv8sAOUHUfBHKp0tCYtinrvx9llsB/Q7I/U6T4jUSntYB0O1hXQuD74fxwczSYfQ==
- Ironport-sdr: 4zLHA4mYnC0WhhAkwGeWfpJr0JHD+FwIh8RjxRDm4WvdZQrbXSk5Yz9hyA8i3x4IlKHKs8A65G fNq+KF25uBtLc3D6HShzkwFotnfQuV/6DNuvNXvOp6Vr7Gba8nT6l3pYriomEbNTLteEWjLtsG hbySaEbd31hScGk0/KG1qIoSQYAjecbJ8B9hcKztGXJ+B26wuWyOxdtX77KAuD4UHAU/dHUZUt +NCmu2YzxW7jaLIIcMeZwkPrCeEqSrxWglLrC3P0/XiPORu3wadcxx1hchBlDIhaZwuNGuQ8G6 OsA=
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
> 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.
I'm headed out of town as well. But I get this very same EINVAL for any drive (/cygdrive/X)
except for the local disk C: (the only local drive my PC has):
$ mount
...
S: on /cygdrive/s type netapp (binary,posix=0,user,noumount,auto)
...
U: on /cygdrive/u type netapp (binary,posix=0,user,noumount,auto)
...
Y: on /cygdrive/y type smbfs (binary,posix=0,user,noumount,auto)
...
$ getfacl /cygdrive/u
# file: /cygdrive/u
# owner: Unknown+User
# group: Unknown+Group
user::rwx
user:lavr:rwx
group::r-x
mask::rwx
other::---
getfacl: /cygdrive/u: Invalid argument
$ getfacl /cygdrive/s
# file: /cygdrive/s
# owner: Unknown+User
# group: Unknown+Group
user::rwx
user:lavr:rwx
group::rwx
mask::rwx
other::---
getfacl: /cygdrive/s: Invalid argument
Everything works fine for the drives U: & S: w.r.t execution.
$ getfacl /cygdrive/y
# file: /cygdrive/y
# owner: lavr
# group: cppcore
user::rwx
group::r-x
other::r-x
getfacl: /cygdrive/y: Invalid argument
Drive "Y:" is a share from Linux that has special ACL flags set (I explained in previous posts):
acl allow execute always = True
making "everything" executable there.
--
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