Hide SMB Share

Hello everyone,

I am also trying to provide each user with a private dataset in TrueNAS Fangtooth 25.04, such that the dataset is invisible to other users via SMB/Windows.

Here is what I have done so far:

  1. Dataset setup
  • ACLs configured: only one user has full access.
  • Group and all other users explicitly set to Deny Full Control.
  • ACLs applied recursively to cover all subfolders and files.
  1. SMB Share settings
  • Access Based Share Enumeration (ABSE) enabled.
  1. CLI / Shell
  • Additional SMB parameters set:
    midclt call sharing.smb.update <ID> '{"auxsmbconf":"hide unreadable = yes"}'
    midclt call sharing.smb.update <ID> '{"auxsmbconf":"hide unwritable = yes"}'
  • SMB/CIFS service restarted:
    midclt call service.restart cifs
  1. Windows testing
  • Created a new connection to the SMB share.
  • The private folder is still visible to other users, even though they have no permissions.

I do not understand why the folder remains visible. Is there something I am missing to make the dataset folder truly invisible to other users in Windows?

I also tried the steps from the following post, but it didn’t work either:
https://forums.truenas.com/t/accepted-25-10-by-default-make-files-and-folders-you-have-no-rights-to-see-hidden-over-smb/31584/27

Any advice if i missed something or workaround would be greatly appreciated