delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/17/16:00:49

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=tT
cTcb7R1tQ3sHEr9n1lwyzbKhcUqjAt+yIdHVF+lxtXHePk/zUD5xE1WwNiqHW97z
n0rUGf85JJVd1dFjY3ymiouxYvnupB1GBzZtGCcU3gf5c70oeNm2O/HeDA1m/AS0
saJEenXHIFYZFUF0NXt8t/rmczwF2DpfPZoDsWVYk=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=Ewl0mfOe
U8Y33iNa0WJRUqqh18w=; b=tMnZQdsAM8DQoRScPWn8MnJUR1eMmfuGwDQRgwvf
K+EHXywFACI+4mSrZKmPMqxRwdk9YYMc8QVwOKOo3FXC13u2e3VBiS10czx56cRJ
gTSOHKIncFaVqH22o+rnNht+gdVf35a+KbpBkxQR0rJpqHeeEAJjQA2N3NL2h7cj
H4U=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f50.google.com
MIME-Version: 1.0
X-Received: by 10.194.109.229 with SMTP id hv5mr34694131wjb.119.1437163225971; Fri, 17 Jul 2015 13:00:25 -0700 (PDT)
In-Reply-To: <1839670145.20150717221600@yandex.ru>
References: <CAA3aKc_hM_CcBwuu1ZOM+kkwo0txvtjcq=Dji_veONO4Ugcsmw AT mail DOT gmail DOT com> <1839670145 DOT 20150717221600 AT yandex DOT ru>
Date: Fri, 17 Jul 2015 16:00:25 -0400
Message-ID: <CAA3aKc_uipyPN1i90cbcAnUwronc5FKnXWHbdaFJo8_Wof5j3g@mail.gmail.com>
Subject: Re: bat files not automatically assumed to be executable
From: schilpfamily <schilpfamily AT gmail DOT com>
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

the bat file is located outside of cygwin root.

i've tried adding noacl to the fstab and this creates other problems...

rather frustrating...

On Fri, Jul 17, 2015 at 3:16 PM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
> Greetings, schilpfamily!
>
>> i updated my cygwin area recently and now windows bat files will not
>> execute with  "Permission denied" error message. in addition the bat
>> file has permission 644.
>> previous to updating cygwin, all bat files had the execute bit set and
>> were always executable. on the documentation for cygwin, it explicitly
>> says that bat, com and exe files are always executable in cygwin. has
>> this changed?? and if so, why?? this makes it really painful....
>
> If you bar file is located under cygwin root, you must explicitly give it
> executable permissions.
> If it is located outside Cygwin root, you may go away with deferring ACL
> control to Windows.
> I.e. by amending /etc/fstab to something like
>
> none /cygdrive cygdrive binary,posix=0,noacl 0 0
>
> Ref: https://cygwin.com/cygwin-ug-net/using.html#cygdrive
>
>
> --
> With best regards,
> Andrey Repin
> Friday, July 17, 2015 22:11:36
>
> 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