Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Funny Little Permissions Issue on Ubuntu

by Lu. (Hermit)
on Apr 22, 2009 at 10:51 UTC ( #759238=note: print w/replies, xml ) Need Help??

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.

  • Comment on Re: Funny Little Permissions Issue on Ubuntu

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://759238]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2020-02-23 08:39 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (102 votes). Check out past polls.