Subject: | Tarball cannot be extracted on Unix (wrong directory permissions) |
It's not possible to install the latest Map-Tube-Lyon (and also the other two Map-Tube distributions of yours) on a Unix system using CPAN.pm because of permission problems:
Couldn't move /tmpfs/.cpan-build/tmp-10921/Map-Tube-Lyon-0.04/t to /home/eserte/.cpan/build/Map-Tube-Lyon-0.04-_2fYSW/t: Ist ein Verzeichnis at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Distribution.pm line 541.
CPAN::Distribution::run_preps_on_packagedir(CPAN::Distribution=HASH(0x9fcd2e8)) called at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Distribution.pm line 361
CPAN::Distribution::get(CPAN::Distribution=HASH(0x9fcd2e8)) called at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Distribution.pm line 1804
CPAN::Distribution::prepare(CPAN::Distribution=HASH(0x9fcd2e8)) called at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Distribution.pm line 2082
CPAN::Distribution::make(CPAN::Distribution=HASH(0x9fcd2e8)) called at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Distribution.pm line 3422
CPAN::Distribution::test(CPAN::Distribution=HASH(0x9fcd2e8)) called at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Distribution.pm line 3824
CPAN::Distribution::install(CPAN::Distribution=HASH(0x9fcd2e8)) called at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Shell.pm line 2063
CPAN::Shell::rematein("CPAN::Shell", "install", "G/GW/GWS/Map-Tube-Lyon-0.04.tar.gz") called at /opt/perl-5.20.0t/lib/5.20.0/CPAN/Shell.pm line 2230
CPAN::Shell::__ANON__("CPAN::Shell", "G/GW/GWS/Map-Tube-Lyon-0.04.tar.gz") called at /opt/perl-5.20.0t/lib/5.20.0/CPAN.pm line 199
CPAN::AUTOLOAD("G/GW/GWS/Map-Tube-Lyon-0.04.tar.gz") called at -e line 1
The first extraction seems to work:
dr-xr-xr-x 5 eserte eserte 260 Feb 23 23:06 .
drwxr-xr-x 3 eserte eserte 60 Feb 24 18:16 ..
-rw-r--r-- 1 eserte eserte 615 Feb 23 23:05 Changes
-r-xr-xr-x 1 eserte eserte 507 Feb 4 03:25 MANIFEST
-r-xr-xr-x 1 eserte eserte 1051 Jan 20 03:48 MANIFEST.SKIP
-r-xr-xr-x 1 eserte eserte 1180 Feb 23 23:06 META.json
-r-xr-xr-x 1 eserte eserte 684 Feb 23 23:06 META.yml
-rw-r--r-- 1 eserte eserte 1848 Feb 23 00:24 Makefile.PL
-rw-r--r-- 1 eserte eserte 56 Jan 22 04:42 README
-r-xr-xr-x 1 eserte eserte 2000 Feb 23 23:05 SIGNATURE
dr-xr-xr-x 3 eserte eserte 60 Feb 23 23:06 lib
dr-xr-xr-x 2 eserte eserte 60 Feb 23 23:06 share
dr-xr-xr-x 2 eserte eserte 280 Feb 23 23:06 t
But the movement to the final build destination fails, because the directories have not the "w" bit for the owner.