Hi, currently our (external) filter scripts are lacking resp. buggy in several ways: - they don't respect the TMPDIR environment variable - not safe from a security pov [1] - buggy (st vs $st) - unnecessary cat calls - create files in $HOME (which unnecessarily get picked up by tracker) The attached patch addresses these issues. I used mktemp to implement the creation of safe tmpfiles. TTBOMK all modern linux/solaris distributions ship tool. I'm posting this patch for wider review. If you know of any platform (we support) that doesn't ship mktemp, please let me know. Cheers, Michael [1] http://www.linuxsecurity.com/content/view/115462/151/ -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
safe_tmpfiles_filters.patch
Description: Text Data