Enable execute on TrueNAS SAMBA share
1. Navigate to shares
2. Click on "edit"
3. Click on “Advanced Options”
4. Edit “Auxiliary Parameters”:
acl allow execute always = yes
5. Save
Sources
https://forum.level1techs.com/t/solved-cant-execute-files-from-truenas-12-0-u4-smb-share/173408/12