Bug 4596 - regular expression samba?
regular expression samba?
Status: RESOLVED INVALID
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.25
Other Windows XP
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-06 19:45 UTC by gqin
Modified: 2007-05-12 23:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gqin 2007-05-06 19:45:24 UTC
I tried this 

[data]
comment=data
paht=/data
wirtable=yes
veto file=/*.[!t][!x][!t]/

I want data directory only exist *.txt

why no successful?

please help me?

thank you very much!!!
Comment 1 James Peach 2007-05-12 23:27:12 UTC
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
              DOS wildcards.

So you should use
    veto files = *.txt