[Samba] smb.conf veto files entry question

Bob of Donelson Trophy bob at donelsontrophy.net
Thu Oct 27 12:25:24 UTC 2016


While working on my existing member file server smb.conf config file I
found an entry for "veto files" like the following: 

veto files = /.bash_logout/.bash_profile/.bash_history/.bashrc/ 

The "man smb.conf" entry says: 

veto files (S)

           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.

           Each entry must be a unix path, not a DOS path and must not
include
           the unix directory separator '/'.

           ..... snipped for brevity ..... 

Am I reading a contradiction? 

First paragraph says "Each entry in the list must be separated by a '/',
which allows spaces to be included in the entry." 

And then the next paragraph says: ". . . . must not include the unix
directory separator '/'." 

What? Can anyone explain? 

-- 
_______________________________

Bob Wooden of Donelson Trophy


More information about the samba mailing list