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: Wed, 14 Aug 2019 04:23:51 +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=Y0z+YzAvMBZaoKOQc6LHIPNRJELcGFUvk7zcv+G2OJQ=; b=oaMKP10A6zPSMF3l0iP4OzCMKaJxOzQwP9o2E4AEWTWdlmKgEjOvhBUMWxQ/3khrU886HJO4J05bgLbkcmo4GUnYgg49YwUNYrXyD96gSPREpyjUH8VVNojAf8CTXVE13uCsjC6jhCmxcEPapYhmZ6hhJYzflxgQ+kF38oG2/qeGZleTZmhIDWRK8hSfOQ3KJRmX5zAtrgFflS+JlMPKMdGaAgzZ7CSFx1lpwlIgKiLpQTyjCyX2Zdpe7Z05ZDcAu7VZjU4BZu2LLneD6KnZGKI0KKs9U+k/ZHryxvML6MaN7O0wCkpLEFNVfBw8WbCUVg+pV2jbin2fa/WLlkK23A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=obj9JNpwjuRytBfxkaYPkhGqnmzE+FZ8zqKeUKE2XgZm23rAU3F9YlaFl860xuHqHewYNXH9mxMHP3xcB07h0gFEFICeMA3ehXFkmtVxO1VbfarXUqWt19/ZeefRC9Vq6Bm8zPFYPpyFdgwy+e6hFAB7SRMkK4bMNFVVPyyO5Na1fbNieTkYWMvfbPXwHvp696AHdmLIU6RDTEA24Jp84mr6RVvAtm8diukKwRVG+legE81oetvBambzklj6K9QgRyaXBz7u/Sf7Z1/i5zdasMQvl+F+GOIYphcF2pQUgfKetmmTv4TqpWLg5QMHHIV+DGGhNnmeF3Svs5g9DnrFxA==
- Ironport-sdr: uPnD3cwmcoNP5y+nxTMCd9GCb5W0h881KxFuGotkzOKwP8nI+cWmCZycxgzOyEyHG2Zx9NX2qv X/5wcyyfp/QXmYY38gBD1zatZNNJBVDR3pBJJqWYw24NxhmOibqvSZm/FsVPgT+KbvwxhDLFS3 O8AOECdryzySDtvQgOnwU1tSDf/AUb3JDsMeedSkVokN/lSLyMGyqSEopec3c/k66zbOF/1L47 iHHKxHwE2SdQwRuVe9pffrew8JQTNrY5hV+8mVQokeuIkB8ypSf+Us5n2Dj/dGf7JfTqG15RTn +WU=
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
> 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.
$ getfacl /cygdrive/z
# file: /cygdrive/z
# owner: lavr
# group: cppcore
user::rwx
group::r-x
other::r-x
getfacl: /cygdrive/z: Invalid argument
$ getfacl.exe /mnt
# file: /mnt
# owner: lavr
# group: cppcore
user::rwx
group::r-x
other::r-x
getfacl: /mnt: Invalid argument
(where /mnt is the same network share mounted with the "exec" option, see previous posts; not sure what EINVAL means there in the output,
it does not appear for files -- seems to be only when directories are inquired)
--
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