From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42108 invoked by alias); 14 Aug 2019 20:05:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 42102 invoked by uid 89); 14 Aug 2019 20:05:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=H*Ad:D*gov, HTo:D*nih.gov, H*Ad:D*nih.gov, H*x:Bat! X-HELO: forward105j.mail.yandex.net Received: from forward105j.mail.yandex.net (HELO forward105j.mail.yandex.net) (5.45.198.248) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Aug 2019 20:05:06 +0000 Received: from mxback17g.mail.yandex.net (mxback17g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:317]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 573BCB20A4C; Wed, 14 Aug 2019 23:05:03 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback17g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Z7yATxOpZa-52ja5csF; Wed, 14 Aug 2019 23:05:03 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1565813103; bh=TCnuu2q/qCkJG7Aa+up1xaG49S827vxjZqaCob0a7aM=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=EfbdKIK+2aPDpG0bA48hs51MtiyrpDs/wOIIoHderD1XjZzTUPCsRvDXpBW3RF8iP qNcqrr3t2BKJTcpkB6A47vOdx250l7mQDdQGQOe4pnWIyWBiL+DwAx8sdlxDxGI7+3 4Et7FRrXrBWnpM58Twpk9JcLlXJOSrlQGL2u03DQ= Authentication-Results: mxback17g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Nu48I65DsD-52CWpdJV; Wed, 14 Aug 2019 23:05:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Wed, 14 Aug 2019 19:51:49 -0000 Date: Wed, 14 Aug 2019 20:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <434069545.20190814225149@yandex.ru> To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" , cygwin@cygwin.com Subject: Re: SMBFS mount's file cannot be made executable In-Reply-To: References: <704986a5a4ab41709eb963dcd23887b1@BELBRU-EXMP101.eeas.europa.eu> <1612836928.20190813212422@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00183.txt.bz2 Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]! >> 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. This is, as I said, the DEFAULT. To change them, edit /etc/fstab, add the desired line. F.e. none /cygdrive cygdrive binary,posix=0,nouser 0 0 > 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 -- With best regards, Andrey Repin Wednesday, August 14, 2019 22:50:18 Sorry for my terrible english... -- 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