On 5. 12. 2018 10:29, Lillieskold, Claes wrote:
Hi,
I want bat files to have execution permissions in order for expansion in bash
to work.
It was not possible to “chmod a+x something.bat” and running something.bat still
works, but I have to type it. It’s a minor, but I wonder if there is a solution
to this?
And thanks for developing msys2, it’s really working well.
There's no universal solution AFAIK, but you might be interested in:
- the `acl` mount option
- the `exec` mount option
- adding a marker to the .bat file (two bytes: ":\n")
All is documented here:
<https://cygwin.com/cygwin-ug-net/using.html#mount-table>
--
David Macek
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users