[Samba] "hide dot files" parameter
bill.aitken at prostrakan.com
Wed Sep 24 23:58:48 GMT 2008
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
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
Frank Gruman wrote:
> On Wed, 2008-09-24 at 11:36 +0200, Jean Frontin wrote:
>> 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.
More information about the samba