truefriend-cz
Explorer
- Joined
- Mar 4, 2022
- Messages
- 54
Hello,
How can I prevent shared folders from being displayed to users who do not have this permission?
I'm sorry to say I'm a little wrong.
This problem has already been addressed in this forum, for example:
www.truenas.com
However, this problem was solved on TrueNAS Core and I did not reach the required solution. After days of hardship, I switched to TrueNAS Scale (20.2.0.1) and now I am solving this problem on this version.
Would someone please advise me on how to come up with a solution - what do I have to do? I have TrueNAS Scale by default.
I have created two user UserA and UserB. And base Pool and Dataset with RESTRICTED ACL preset (For UserA).
And i am created two share folders:
\\TRUENAS\Test 1 = (/Pool/Dataset/Test 1)
\\TRUENAS\Test 2 = (/Pool/Dataset/Test 2)
In both shares is in properties selected "Access Based Share Enumeration".
I wanted solution for:
If logged UserA to \\TRUENAS\ then show "Test 1" Share only (Share "Test 2" is hidden).
If logged UserB to \\TRUENAS\ then show "Test 2" Share only (Share "Test 1" is hidden).
How can I prevent shared folders from being displayed to users who do not have this permission?
I'm sorry to say I'm a little wrong.
This problem has already been addressed in this forum, for example:
To allow browsing sub folders to which one has permission to
Hello, I want to setup permission so that i have a base: /mnt/some/folder/base (owned by root and wheel) Under it I like to add folders in such a way that only if one is a member of that foldergroup one can see that subfolder. so /mnt/some/folder/base/Project_One...

However, this problem was solved on TrueNAS Core and I did not reach the required solution. After days of hardship, I switched to TrueNAS Scale (20.2.0.1) and now I am solving this problem on this version.
Would someone please advise me on how to come up with a solution - what do I have to do? I have TrueNAS Scale by default.
I have created two user UserA and UserB. And base Pool and Dataset with RESTRICTED ACL preset (For UserA).
And i am created two share folders:
\\TRUENAS\Test 1 = (/Pool/Dataset/Test 1)
\\TRUENAS\Test 2 = (/Pool/Dataset/Test 2)
In both shares is in properties selected "Access Based Share Enumeration".
I wanted solution for:
If logged UserA to \\TRUENAS\ then show "Test 1" Share only (Share "Test 2" is hidden).
If logged UserB to \\TRUENAS\ then show "Test 2" Share only (Share "Test 1" is hidden).
Last edited: