Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 41886
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: gavin [...] openfusion.com.au
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.93
  • 1.9301
Fixed in: (no value)



Subject: Overly restrictive permissions on build directories
Newer CPANs (at least newer than 1.7602) seem to make the permissions on the package build directories (~/.cpan/build/Pkg-Version-random/ on unix) 0700, where older versions (1.7602, for instance) seem to make them 0777 & umask. The more restrictive permissions work in most environments, but in an NFS environment where you have the 'root_squash' option on, the install step fails because 'root' is unable to read anything in the build directory. This means that CPAN is pretty badly broken in these environments, as everything fails on the 'make install' step. So could we please have a setting to allow these more restrictive permissions to be turned off for these kind of environments? Thanks, Gavin
Thanks! Fixed in the repository (git://github.com/andk/cpanpm.git)