Truenas is picky with permissions and samba. You're honestly likely to have a much better time with a different mechanism of sharing storage...
that being said, try turning the logging level up in truenas for samba, and looking at the logs in /var/log/samba4
it'll (likely) take a hair of digging to spot the problem, but it aught show itself with some inspection.