delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/14/16:06:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=kv/TBqhfvhF/EuiM
1PBZsoQ9PHVvHLT/ZwC8R2LKHLz+vSGOd5remnZFu6zrzovIJjmB8XA44CQmsfLK
JHQbbOsfAtD7BSQh0Ly7OT+MF+l9P1q1qbYs/sglu8VTnMrot+VpVD4j2V7m+4pb
ADHBj3hNuct5awMtiW5+sP6Ytc0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=jzCLcyRa5GxJ5y8aMYANoj
g6oNY=; b=PGEHg2hgz3O1XeNaPXNYd+bZaZVM7cYgYy1XWDaKZcwsR/DV8/LGMn
eJMP6PlWC610QfFwdRKZSxssIyJtaQtmkvvnrkVvEEK6btR1zUtW9z05VPalEYeW
rDFknhSD9mAy8JimCwFj6cQ+E40KpwhTv8zNWJV8xFmDyRP7BD/Dw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
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
Date: Wed, 14 Aug 2019 22:51:49 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <434069545.20190814225149@yandex.ru>
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>,
cygwin AT cygwin DOT com
Subject: Re: SMBFS mount's file cannot be made executable
In-Reply-To: <BN6PR09MB1409FAED968956426C0914A8A5D20@BN6PR09MB1409.namprd09.prod.outlook.com>
References: <BN6PR09MB1409EACEBA48577B4C6CC3D2A5D30 AT BN6PR09MB1409 DOT namprd09 DOT prod DOT outlook DOT com> <704986a5a4ab41709eb963dcd23887b1 AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu> <BN6PR09MB1409D5E76638A6D39C8ED13FA5D20 AT BN6PR09MB1409 DOT namprd09 DOT prod DOT outlook DOT com> <1612836928 DOT 20190813212422 AT yandex DOT ru> <BN6PR09MB1409FAED968956426C0914A8A5D20 AT BN6PR09MB1409 DOT namprd09 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019