Erol YILDIZ
2005-Mar-03 08:47 UTC
[Samba] disallowing copying files to the shares by extension
hi, Is it possible to filter files by their extensions for samba shares? For example no mp3 files can be coppied to the file server. thanks.. -- Erol YILDIZ HEV Okullar? Kemerk?y IT Departaman? http://www.hevokullari.k12.tr
Mitch (WebCob)
2005-Mar-03 08:53 UTC
[Samba] disallowing copying files to the shares by extension
> hi, > > Is it possible to filter files by their extensions for samba shares? For > example no mp3 files can be coppied to the file server. > > thanks..[Mitch says:] I'm up late - so I'll give you an idea... there are options to hide files, and I think to restrict access to hidden files - not sure if they will prevent file creation, but they might prevent access once they exist, then you could just do a : find /some/path -name "*.mp3" -exec rm {} \; to get rid of them. m/