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 <anrdae...@yandex.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

Reply via email to