DennisLGolden has asked for the wisdom of the Perl Monks concerning the following question:
Using cpan as root to build/install modules, always uses uid 1000 and gid 1000. These id's are already allocated to other users/groups making system administration difficult.
I have searched the web (including this site) and the documentation without finding anything helpful. See below:
goldens:~/.cpan # ll -n build/CPAN-2.14-0ATfK7/ total 1220 drwxr-xr-x 5 0 0 4096 Jul 4 16:11 cpan-home drwxr-xr-x 8 1000 1000 4096 Jul 4 16:11 t -rw-r--r-- 1 0 0 0 Jul 4 16:11 pm_to_blib drwxr-xr-x 8 0 0 4096 Jul 4 16:11 blib -rw-r--r-- 1 0 0 1380 Jul 4 16:11 MYMETA.yml -rw-r--r-- 1 0 0 2300 Jul 4 16:11 MYMETA.json -rw-r--r-- 1 0 0 65681 Jul 4 16:11 Makefile -rw-r--r-- 1 1000 1000 50942 Jun 24 23:28 SIGNATURE -rw-r--r-- 1 1000 1000 97821 Jun 24 23:28 README -rw-r--r-- 1 1000 1000 2524 Jun 24 23:28 META.json -rw-r--r-- 1 1000 1000 1498 Jun 24 23:28 META.yml drwxr-xr-x 2 1000 1000 24576 Jun 24 23:28 distroprefs drwxr-xr-x 3 1000 1000 4096 Jun 24 23:28 inc drwxr-xr-x 4 1000 1000 4096 Jun 24 23:28 lib drwxr-xr-x 2 1000 1000 4096 Jun 24 23:28 scripts -rw-r--r-- 1 1000 1000 30866 Jun 24 23:28 Makefile.PL -rw-r--r-- 1 1000 1000 21715 Jun 24 23:27 MANIFEST -rw-r--r-- 1 1000 1000 83463 Jun 24 23:18 Changes -rw-r--r-- 1 1000 1000 2582 Jun 24 23:14 MANIFEST.SKIP -rw-r--r-- 1 1000 1000 758603 Dec 30 2015 Todo -rw-r--r-- 1 1000 1000 13287 Mar 28 2014 PAUSE2015.pub -rw-r--r-- 1 1000 1000 11166 Mar 27 2014 PAUSE2011.pub -rw-r--r-- 1 1000 1000 1590 Jul 14 2013 SlayMakefile -rw-r--r-- 1 1000 1000 1750 Sep 8 2012 PAUSE2003.pub -rw-r--r-- 1 1000 1000 2742 Sep 8 2012 PAUSE2005.pub -rw-r--r-- 1 1000 1000 3782 Sep 8 2012 PAUSE2007.pub -rw-r--r-- 1 1000 1000 4818 Sep 8 2012 PAUSE2009.pub goldens:~/.cpan #
This is happening on all of my Linux systems. Any guidance would be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpan build environment
by hippo (Archbishop) on Jul 06, 2016 at 11:33 UTC | |
by Anonymous Monk on Jul 06, 2016 at 11:43 UTC | |
by DennisLGolden (Initiate) on Jul 06, 2016 at 19:24 UTC | |
|
Re: cpan build environment ( uid 1000 and gid 1000 umask chown setgid chgrp )
by Anonymous Monk on Jul 05, 2016 at 22:12 UTC | |
by DennisLGolden (Initiate) on Jul 06, 2016 at 19:06 UTC | |
by Anonymous Monk on Jul 06, 2016 at 22:17 UTC | |
|
Re: cpan build environment
by Anonymous Monk on Jul 06, 2016 at 10:46 UTC | |
by DennisLGolden (Initiate) on Jul 06, 2016 at 19:19 UTC | |
|
Re: cpan build environment
by haukex (Archbishop) on Jul 07, 2016 at 10:07 UTC | |
|
Re: cpan build environment
by codiac (Beadle) on Jul 07, 2016 at 10:05 UTC |