Author Topic: veto files - exception for a department  (Read 880 times)


  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +2/-0
    • View Profile
veto files - exception for a department
« on: March 28, 2023, 01:43:04 pm »
Hello, I'm using Zentyal 7 as a file server (File Sharing).

I need to apply VETO FILES parameter but not on all shared directories of my fileserver.

########## GENERAL (hr, finance, inventory)
veto files = /*.mp3/Thumbs.db/*.3gp/*.avi/*.mkv/*.flv/*.exe/*.bat/*.ini/

But there are some directories that are shared on the fileserver, for example, they could record MP3 files
Board, Audio Department, IT...

I didn't find anything in the /usr/share/zentyal/stubs/samba/smb.conf.mas or /usr/share/zentyal/stubs/samba/shares.conf.mas file
where could I locate the directory I want to select. Because it's no use putting it in the already compiled files /etc/samba/shares.conf

When I enable this parameter in veto files = /*.mp3/Thumbs.db/*.3gp/*.avi/*.mkv/*.flv/*.exe/*.bat/*.ini/ in config file /usr/share/zentyal/stubs/samba/smb.conf.but Samba applies to all

Does anyone know what it could be and how to fix it.