This is the mail archive of the
mailing list for the Cygwin project.
Re: bat files not automatically assumed to be executable
- From: schilpfamily <schilpfamily at gmail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Fri, 17 Jul 2015 16:00:25 -0400
- Subject: Re: bat files not automatically assumed to be executable
- Authentication-results: sourceware.org; auth=none
- References: <CAA3aKc_hM_CcBwuu1ZOM+kkwo0txvtjcq=Dji_veONO4Ugcsmw at mail dot gmail dot com> <1839670145 dot 20150717221600 at yandex dot ru>
the bat file is located outside of cygwin root.
i've tried adding noacl to the fstab and this creates other problems...
On Fri, Jul 17, 2015 at 3:16 PM, Andrey Repin <email@example.com> 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple