Subject: | Test suite fails if custom temporary directory is used (0.64, 0.65) |
Sample fail report: http://www.cpantesters.org/cpan/report/515653c6-acd3-11e4-8c54-b60be1bfc7aa
What seems to happen here: on modern Linux distributions (e.g. Debian/jessie) I set TMPDIR to a user-specific temporary directory /run/user/$uid. For smoking purposes a subdirectory "cpansmoker" is created there and used for temporary files. Now it seems that File::Temp's safe_level=2 is quite picky about such a construct, but I would say File::Temp is wrong here --- I cannot see a security problem. Probably the problem would go away if File::Temp's default safe_level is used here.