Elvin Peterson schrieb:
Hello,
   The CPAN command:

perl -MCPAN -e shell

fails with:
Cannot open >/usr/lib/perl5/5.8.5/CPAN/Config.pm at
/usr/lib/perl5/5.8.5/CPAN.pm line 1219

It looks like it is trying to write to a file owned by
Administrator.  Is there a workaround to install
modules as a user?

root ownersip is okay. but it must be readable. user-specific CPAN configs are stored in ~/.cpan/CPAN/MyConfig.pm

chmod +r /usr/lib/perl5/5.8.5/CPAN/Config.pm
chmod -R +rw /usr/lib/perl5/site_perl/5.8.5
chmod -R +rw ~/.cpan

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



Reply via email to