using Samba between a linux server and a windows 10 pc client.
From windows I go to \\mylinuxserver
and go into my home folder and see
.cache/
.gconf/
.gvfs/
.mozilla/
and so on
Desktop/
Downloads/
my_folders_i_care_about/
I don't want to see all the dot folders and files like .cache
.
I don't want to see .anything
in windows explorer when navigating into a samba share. How can I stop dot files and dot folders from being visible?
My smb.conf
is currently this for sharing out home directories and any other folder; this is under SLES11 with samba 3.6 but I will be using RHEL 7.6 eventually.
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
create mask = 660
directory mask = 770
[data]
path = /data
create mask = 660
directory mask = 770
inherit acls = Yes
read only = No