I thought about this today and sure enough, I attempted this in past.
I was wondering if anything relevant changed with TrueNAS 12 which I run now.
Basically, I have user octopuss, user2 and user3.
All of their home folders are being accessed from Windows and the sole purpose is to store the users' data backups, so it's all Samba.
Each user has obviously his own group.
There is /mnt/pool1/users dataset and "users" share of "Private SMB datasets and shares" type (I presume that is the most suitable type for this).
The dataset is owned by root and controlled by wheel (this is probably the default but I don't remember since it's been ages since I installed the system).
Each user is in its own group.
When I open the \\nas in Windows, I see users folder.
What I would like to achieve is seeing octopuss, user2 and user3 folders underneath that, but I feel like this is impossible by design no matter how I set the permissions since the octopuss folder is set as home in the user settings on the NAS, so technically the root folder of the users dataset I can see is in fact one level below.
Is that thinking correct, and if so, is there any way around that?
One bottom line question: when setting home folder permissions on the edit user page, what group do the group checkboxes apply to? The primary or the auxiliary, or something different?