You need to configure samba to veto the files/folders you don't want clients to see. Add something similar to the following to your smb.conf:

# Never allow clients to view the following files (even when they chose to show hidden files). # Do not allow clients to delete folders which have hidden files within them.
  veto files = /.Maildir/.*/
  delete veto files = No

I also tend to add the following to my smb.conf:

# Files that have their Linux permissions set to prevent access shouldn't even appear
  hide unreadable = yes

Regards,
Bill


Frank Gruman wrote:
On Wed, 2008-09-24 at 11:36 +0200, Jean Frontin wrote:
Hi,

I put "hide dot files = yes" in [homes] section.
I don't understand why I always see files beginning with a dot when I open a session on this server.

Do you have the option to view hidden files enabled in Windows?? (From
Windows Explorer > Tools > Folder Options > View tab > near the bottom
of the first page is the option for "Hidden files and folders").  A dot
(.) file in Windows is not automatically considered hidden unless the
Samba option you have set is enabled.  The option I noted here will
effectively disable that option.

Have a good day
You as well.

Regards,
Frank


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to