Skip Menu |

This queue is for tickets about the Pod-Manual CPAN distribution.

Report information
The Basics
Id: 30051
Status: resolved
Priority: 0/
Queue: Pod-Manual

People
Owner: yanick+cpan [...] babyl.dyndns.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: (no value)



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,
pdflatex is the culprit littering /tmp. As I didn't find any easy way to tell the TeX font generator to put its fonts elsewhere, I've added a check that skips tests using pdflatex if they are run by 'root'. I'm not entirely happy with that fix, but hopefully it'll do until I get the tuits to go spelunking in the depth of LaTeX configuration.