Thursday, April 21, 2011

How can I solve "world writable" issues with modules uploaded to PAUSE (CPAN) from Win32?

Does anyone one know how not to get the "world writables" fail message from PAUSE when I upload a module to PAUSE?

I packed it with make dist on Windows. I haven't got access to a Linux box at work and I need to work it out on Windows.

From stackoverflow
  • As noted in GNU Tar manpage , you can use the TAR_OPTIONS environment variable to pass arguments to the tar command. One of them is --mode= . Read the man page for more information.

  • There is a script on PerlMonks that fixes things up. The URL is http://www.perlmonks.org/?node%5Fid=731935

  • If you use Module::Build for your dist building, you can install the latest version, accompanied with Archive::Tar and it will be fixed for you. No mess, no fuss.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.