September 11 2017 | File::Path Security | Back Next |
File::Temp::tempdir() will be affected in cases where, inside the tempdir, you have changed subdirectory permissions in exotic ways
tempdir(CLEANUP => 1) cleans up by calling rmtree() with the third positional argument -- the argument for "safety" -- explicitly turned off
eval { rmtree($dir, $DEBUG, 0); };
So, with File::Path::rmtree() and earlier, tempdir() hoovered up everything.
Now it will leave certain weird subdirs in place
Problem described in: https://rt.cpan.org/Ticket/Display.html?id=122255
Home Last TOC | Copyright © 2017 James E Keenan | Back Next |