A customer, for whom I have set up a TrueNAS Scale installation (still in testing mode, updated yesterday to the current release) very urgently wants to hide certain directories from ordinary users. I would have given up long ago on the issue and decided that the users not being able to access the directory would be enough. I have found repeatedly two keywords “Enable Access Based Share Enumeration” and “Enable Access Based Enumeration” but I can’t find where to set these option. Also, I am unsure of the steps after enabling them. Is it enough just to give RW-Permissions to the Group to whom the folder belongs or are there additional steps I need to follow?
Hi
The customer wants the share itself hidden. I do not plan on creating any shares below the main share and plan on regulating access via file permissions.
No, the problem already existed before the latest update. Is there any way I can find out the installation date of TrueNAS? Any logs which are created on first install and which would show which version I installed?
Shares → Windows (SMB) Shares → Edit / Pencil Icon → Advanced Options → Tick “Access Based Share Enumeration”
If you have the purpose set to “Default share parameters” this will be greyed out, you can set the purpose to “No presets” to allow editing these.
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:
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.
SMB/CIFS service restarted: midclt call service.restart cifs
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 would also recommend to not set “hide unreadable” and “hide unwritable” - it’s not required for hiding shares in share enumeration and will only slow down folder enumeration.
Setting is under the “Shares” section, and my TrueNAS is ElectricEel-24.10.2.2
Keep in mind that my family is not tech-savvy and that the hidden share could be accessed via the direct link/shortcut if the user has been granted permission.