Hiding dot files for samba shares

Last modified on July 24, 2026 • 1 min read • 36 words
How do you suppress the display of system files (configuration files, those that start with a dot) when connecting from a Windows computer to your samba server?
Hiding dot files for samba shares
Image by Michael Jeltsch

To suppress the display of system files (configuration files, those that start with a dot) when connecting from a Windows computer to your samba server, write the following into the /etc/samba/smb.conf:

hide dot files = yes