Subject: | t/Footprintless_Extract.t fails on FreeBSD systems |
t/Footprintless_Extract.t fails on FreeBSD systems:
unable to create secure temp file at t/Footprintless_Extract.t line 72.
# Looks like your test exited with 1 just after 1.
t/Footprintless_Extract.t ................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 48/49 subtests
This can be reproduced on the cmdline like this:
$ mkdir /tmp/foo
$ chmod 02700 /tmp/foo
chmod: /tmp/foo: Operation not permitted
Reason is probably that the created directory belongs to the group "wheel" to which the user does not belong to, so he's not permitted to set the setgid bit for it. I think there's no need to do a chmod at all here, as File::Temp already sets 0700, which should be good enough.