ADN
May 14, 2024, 7:47pm
1
I need to add the following options in TrueNAS SCALE SMB config.
How can I do this in SCALE?
# hide files start with a dot (.)
hide dot files = yes
# hide selected files. example files start with ($)
hide files = /$*/
# hide pipes, sockets, devices ...
hide special files = yes
# hide files with no read permissions
hide unreadable = yes
# hide files with no write permissions
hide unwriteable files = yes
Cross-posting:
[image]
Wasn’t actually aware this had been removed myself. There are some workarounds in the thread linked.
From a shell:
cli
sharing smb query (grab the ID of your share)
sharing smb update x (where x = your share ID)
You’re taken into an editor where you should be able to uncomment and modify “auxsmbconf”, please note I’ve never actually looked at this before and am just relaying info from the linked thread. You should only touch these if you know what you are doing! Take appropriat…
As mentioned, take appropriate measures to ensure you don’t lock yourself/others out of your share if it is critical. I’d test this on a second share first.