Subject: | Cleaning up /tmp directory; predictable tmp filenames |
While running 'make test' the following files were created and not
cleaned up:
# find texfonts -ls
375364 4 drwxrwxrwt 5 sand sand 4096 Oct 17 08:40 texfonts
375365 4 drwxrwxrwt 3 sand sand 4096 Oct 17 08:40
texfonts/tfm
375366 4 drwxrwxrwt 3 sand sand 4096 Oct 17 08:40
texfonts/tfm/jknappen
375367 4 drwxrwxrwt 2 sand sand 4096 Oct 17 08:40
texfonts/tfm/jknappen/ec
375374 4 -rw-r--r-- 1 sand sand 3172 Oct 17 08:40
texfonts/tfm/jknappen/ec/ecrm1095.tfm
375368 4 drwxrwxrwt 3 sand sand 4096 Oct 17 08:40
texfonts/source
375369 4 drwxrwxrwt 3 sand sand 4096 Oct 17 08:40
texfonts/source/jknappen
375370 4 drwxrwxrwt 2 sand sand 4096 Oct 17 08:40
texfonts/source/jknappen/ec
375371 4 -rw-r--r-- 1 sand sand 67 Oct 17 08:40
texfonts/source/jknappen/ec/ecrm1095.mf
375377 4 drwxrwxrwt 3 sand sand 4096 Oct 17 08:40
texfonts/pk
375378 4 drwxrwxrwt 3 sand sand 4096 Oct 17 08:40
texfonts/pk/ljfour
375379 4 drwxrwxrwt 3 sand sand 4096 Oct 17 08:40
texfonts/pk/ljfour/jknappen
375380 4 drwxrwxrwt 2 sand sand 4096 Oct 17 08:40
texfonts/pk/ljfour/jknappen/ec
375376 28 -rw-r--r-- 1 sand sand 26388 Oct 17 08:40
texfonts/pk/ljfour/jknappen/ec/ecrm1095.600pk
Please make sure that you (1) do not use predictible filenames in /tmp
directories because they have severe security implication when people
run the tests as root. And (2) to clean up anything that you drop into
/tmp after use.
Thanks,