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: Tue, 13 Aug 2019 23:19: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=/coxzCL1xqj0mmqODTaPMDnQyxL556TbjPFYnvP88DE=; b=Bs5IVXiscSbTlO/Cn8ExM4PiegXJ3Q4Tg3LoSBLYBv0kB5BIeNrUCFcOpEwD/ce4iydCmfw3wj+VIe2iGs4iHnJ4UyGv1U5r553BswIf0fprA3OP7Dw9of4UqzDS+9zqQZjCqA6BWeBId1oUXhuzi/fqJNzOJ5lHRauMhO2CBbeOW4HInp95lFdTe6oCyb1Y3buKnLza+X/L9PDAkl60ePzWy3onJ2P2pEKAKkgTmpRGj+leN/wn8+Bs3UMPsY9HFN0bsC0321mJiZ5fj4rlC11lEWKzoHu+NbGdnznNsftZixylSeL0t6C48T8cdMyJL5Vcx/mgHIBmx/3ZoNp2mA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UmBBHVswjSmYqnUCKQgvNLvPTsiUg203+WXGG9LTmRVCJab1WBzG00fm6Bb6hMPpnRM9mHnvzv8VLGsfPCMEKql+n/U4e3RqcgQxH7ckyxx/m8VcQUbuVy3g1AEmsjuRL6GLx6K9Q+TxJtK4h+Y0Tf/ShSHVuLWRQZPxI3uutDDCYqXEa0j4Jpem2smmkXyaz6p9wVzHqvZ8CJ6WYWgwZFcjnhYb6n76jg/6KIWU1nxwdsYVoySZnsw04xJOGjoOU6D0xyufQSDmsDOan4LvS79wBUesE/DkkIlvW+nGabgjEsBEqLHtflL/aLbcB3D9yP/LWopDPriuyl8pUxvSUg==
- Ironport-sdr: BSB0cRQFS0txTK1mjIsV4aTB5HqJRZ0UyEuzVw9RxfVxjGfGnr790VUbmum7q0FO6igUYyQMVO 0PmL4PkIFgpw==
- References: <BN6PR09MB1409EACEBA48577B4C6CC3D2A5D30@BN6PR09MB1409.namprd09.prod.outlook.com> <704986a5a4ab41709eb963dcd23887b1@BELBRU-EXMP101.eeas.europa.eu> <BN6PR09MB1409D5E76638A6D39C8ED13FA5D20@BN6PR09MB1409.namprd09.prod.outlook.com> <1612836928.20190813212422@yandex.ru>
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
> What is your cygdrive mount options? Because default is, apparently, "binary,posix=0,user".
I have no idea where they are kept at, and how to change them.
Also, I couldn't make this work, anyways; yet I thought it should have worked:
> > $ mount -o exec //coredev2/home/lavr /mnt
> > $ mount
> > //coredev2/home/lavr on /mnt type smbfs (binary,exec,user)
> > ...
> > $ cd /mnt
> > $ pwd
> > /mnt
> > $ gcc a.c
> > $ ls -l a.exe
> > -rw-rw-r--+ 1 lavr cppcore 157753 Aug 13 08:20 a.exe
> > $ ./a.exe
> > -bash: ./a.exe: Permission denied
--
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