thanks for the help, now its not possible to copy .mp3 .avi etc files to the shares but, I have done this for the home directories of the users and we are using roaming profiles. If you try to copy .mp3 or .avi files its not possible. If you copy them to your desktop from somewhere and log out, because the profiles are roaming clients tries to write them to the server and succeed! How can this happen?!?
Where did you put your veto files directive? You need to do it on each share you want to apply the restriction to.
On Thursday 03 March 2005 09:52, Mitch (WebCob) wrote:
> 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.
Check out veto files = /*.mp3/*.MP3/*.avi/*.AVI/
/Ulf
-- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Systems Architect Fax: 701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED]
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
