By default make files and folders you have no rights to see hidden over SMB

I see.
In my case Bob has not access to Shared123 but can see this folder in a list of folders.
Bob can`t dive into Shared123 and see other subfolders.

Maybe its not exact this FR, but i think its a special case of it.

In your case is ā€˜Shared123’ a dataset and a share? Is the issue that Bob can see Shared123 being advertised and you don’t want him to be able to?

If so this sounds like Access Based Share Enumeration.

yes, this is a dataset and a share.

Is the issue that Bob can see Shared123 being advertised and you don’t want him to be able to?
yes, there is my issue

If so this sounds like Access Based Share Enumeration.
I checked this option firstly, but Bob can see the dataset/share anyway. So, I start dig and found hide unreadable = Yes parameter and trying to use it.

Ok so this is a different issue to the FR and hide unreadable won’t help you. Someone else in this thread has mentioned the same thing so I’d suggest you create a new post in General and let’s see if others in the forum have the answer or perhaps you’ve found a bug and if so let’s get it logged.

1 Like

So it appears Windows servers sharing via SMB can use Access Based Enumeration (ABE) not to be confused with Access Based Share Enumeration (ABSE). It also appears that samba’s closest equivalent is hide unreadable = yes hence the discrepancy. TN CORE (FreeBSD) by default seemed to essentially hide unreadable = yes but TN SCALE/TC (Linux) does not.

Although this is deemed ā€˜normal behaviour’ in the Linux world it’s fair to say this is not ā€˜normal behaviour’ in the TrueNAS world and a fundamental and undocumented change to how the appliance works in my view.

3 Likes

I think I might have been one of the someone elses. :slight_smile:

A couple of separate threads have popped up on this. Dropping them here for reference.

I need to catch up on those threads, but from my personal experience after moving from CORE 13.0-U6.1 to TrueNAS SCALE 24.04, SCALE has Access Based Share Enumeration (ABSE) in the GUI, but not Access Based Enumeration (ABE).

I actually noticed that checkbox missing the first day I installed SCALE…

1 Like

Just a quick thank-you for posting this fix, worked like a charm.

I’ve been spoiled using DiskStation on a Synology DS1815+ for the 10yrs but the cooling was inadaqute with 8 drives all running so I built a new solution using TrueNAS.

I had just about given up, after wasting hours following numerous guides and suggestions without any luck, until I found your post.

1 Like

Thanks for the feedback its much appreciated and Im pleased to hear it helped.

Welcome to the forums.