in reply to cpan build environment

Any guidance would be greatly appreciated.

The listing which you have provided shows files with uid and gid of 0. This means one of two things:

  1. You (or somebody) has been running cpan as root which has some pretty massive security implications, or
  2. Somebody has managed to create root-owned files without running cpan as root ... which has some pretty massive security implications.

I hope for your sake that it's number 1 and the easy solution is to stop running cpan as root. HTH.

Update: It has been brought to my attention (thanks, GotToBTru!) that your post starts with "Using cpan as route ... " which probably means you are indeed running it as root. In which case, don't do that.

Replies are listed 'Best First'.
Re^2: cpan build environment
by Anonymous Monk on Jul 06, 2016 at 11:43 UTC

    Probably number 1 - when you run sudo cpan, it will still use /home/whoever/.cpan and drop root-owned files there.

Re^2: cpan build environment
by DennisLGolden (Initiate) on Jul 06, 2016 at 19:24 UTC

    Yes I run cpan as root when adding global additions to perl. I thank all of you for the information that you have provided. I also thank you for the quick response.