First try
touch /home/wright/.cpan/sources/xyz to make sure you really can create files there. If not, take a closer look at .cpan and .cpan/sources with "ls -al". Are you really the owner, is it maybe a symbolic link to somewhere you don't have write permissions to?
You might use strace -f -o /tmp/xyz as a prefix to your cpan invocation. You'll then find in /tmp/xyz all system calls done by cpan and even if you don't know much about unix you probably can identify the specific system call that resulted in the warning message somewhere near the end of the file. Check the man-page for that call or post it here for an interpretation.
Maybe the error message you got is wrong (bug in cpan or some installer!?), and it really is a full file system or a corrupted file system or a totally different directory that denies access. Try df /home/wright/.cpan/sources/ to check for space left on the partition it is in. This also shows you whether the dir is really in the file system you expect
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.