The TrueNAS account can't be a root account. The symptoms are of a rights issue. Go into the shares section and then the SMB shares. On the right side click the three vertical dots. Select Edit Filesystem ACL. This is where you give accounts and groups rights. Verify what is there.
Good luck,
Morris