Subject: | Using File::Temp::HIGH() is problematic |
The test suite fails on my smoker machines:
...
Error in tempfile() using template /run/user/1023/cpansmoker/2016092818/fpl_XXXXXXXX.war: Parent directory (/run/user/1023/cpansmoker/2016092818/) is not safe (Sticky bit not set on /run/user/1023/cpansmoker/2016092818/ when dir is group|world writable) at /tmpfs/.cpan-build-cpansand/2016092818/Footprintless-1.16-2/blib/lib/Footprintless/Util.pm line 250.
# Looks like your test exited with 2 just after 32.
t/Footprintless_Deployment.t .............
...
The error message here is wrong; the temporary directory is very safe (/run/user/$uid is created by the operating system with just permissions for this user, and the actual directory is indeed group writable, but the members of this group are known). Probably it's best to not set File::Temp's safe_level here; this can still be done by the module caller as this is a global operation (which is also not good to be done in a module).
Regards,
Slaven