Gabor Szabo wrote:
> t/Command...............Can't chdir to testdir (Permission denied) at
> /home/gabor/.cpan/build/ExtUtils-MakeMaker-6.31/blib/lib/ExtUtils/Command.pm
> line 108
>
> # Failed test 'rm_rf can delete a read-only dir'
> # in t/Command.t at line 178.
> # Looks like you failed 1 test of 38.
> dubious
> Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 20
> Failed 1/38 tests, 97.37% okay
...
> Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
...
> cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
> -fno-strict-aliasing -pipe -I/usr/local/include'
^^^^^^
> ccversion='', gccversion='4.0.3 20051204 (prerelease) (Ubuntu
> 4.0.2-5ubuntu2)', gccosandvers=''
^^^^^^
You are likely the victim of an overzealous Debian security patch which causes
File::Path::rmtree to no longer be able to delete read-only directories.
http://rt.cpan.org/Ticket/Display.html?id=22033
In this case Ubuntu should have removed the patch because an equivalent but
unbroken fix was added to 5.8.7.
____________________________________________________________________________
[ 24180] By: nicholas on 2005/04/06 16:20:17
Log: Integrate:
[ 23950]
Remove mention of sub-packages in the Symbol manpage.
[ 23953]
Patch for CAN-2004-0452 by Jeroen van Wolffelaar.
The rmtree() function in the perl File::Path module would remove
directories in an insecure manner which could lead to the removal
of arbitrary files and directories via a symlink attack.