I tried this
I want data directory only exist *.txt
why no successful?
please help me?
thank you very much!!!
The "veto files" parameter does not take a regular expression. From smb.conf(8):
This is a list of files and directories that are neither visible
nor accessible. Each entry in the list must be separated by a
'/', which allows spaces to be included in the entry. '*' and
'?' can be used to specify multiple files or directories as in
So you should use
veto files = *.txt