http://www.perlmonks.org?node_id=759238


in reply to SOLVED: Funny Little Permissions Issue on Ubuntu

Is this perl the system perl ? (the one that came with ubuntu)

If that's the case, you'd be better off using option number 4 : using apt-get to install perl modules. Most of them are accessible from the repositories. Or you could use some utility, like cpan2deb, which will convert cpan packages to .deb installable archives. One advantage is that you will never have test failures during installation.

Or use option 5, which is installing or compiling your own perl, in a directory where you have write access (for example, I use /opt/ as the prefix, and executables in /opt/bin, modules under /opt/lib ...)

Option 2 will cause permission issues, because you don't have access to subdirectories of the /root directory. No read, no write, no nothing.

Option 3 too, because you don't have write access in /usr/local/whatsitsname and you don't want to have it (security issues ahead).

So, my advice is : use synaptic to install your modules, or install your own perl. Don't mess with system perl.

Lu.