-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 {} \;

Use a veto files setting in the share and place
the above command as a postexec, and I think you're
all set.








cheers, jerry ===================================================================== Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCJx9WIR7qMdg1EfYRAtrkAKCjPP4Hzh0X5zqy9j0TwqoqtABl0gCfY5DU
a5auLegdwyiXXfvAd9q+4b4=
=KSZb
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to