in reply to SOLVED: Funny Little Permissions Issue on Ubuntu

You may have to remove|edit any existing CPAN configuration lying around which causes the cpan shell to install things under /root/perl. Specifics would be provided by those who have used cpan more extensively.

If you are installing things on system wide basis, then for all practical purposes do not install in /root or include /root in @INC.

Do you see /root/perl in @INC when you run perl as mere mortal, after fiddling with PERLLIB? Does your shell suppose to source /etc/profile (bash & zsh do; could not find it in tcsh man page)?

BTW, your @INC seems to be missing architecture specific directories. Did you change install settings to not to create, or install in, those directories?

  • Comment on Re: Funny Little Permissions Issue on Ubuntu

Replies are listed 'Best First'.
Re^2: Funny Little Permissions Issue on Ubuntu
by FunkyMonk (Bishop) on Apr 22, 2009 at 22:04 UTC
    BTW, your @INC seems to be missing architecture specific directories.

    That's the way Debian does it, and hence Ubuntu does it that way too.

      Thanks for the explanation. (I would need to look further if|how I could get rid of architecture specific directories myself when I am installing in my own space on CentOS 5 & FreeBSD 6|7.)