/home by default has the noexec
property set on TrueNAS. There was a ZFS bug in earlier versions that caused this to not be evaluated properly for filesystems in the boot pool. TL;DR maybe put your scripts on the data pool. The boot pool should not be used for anything other than ephermeral data.
1 Like