in reply to cpan build environment

The UID and GID are stored as part of the tar archive. ~/.cpan/.build is just a temporary directory. When you actually install the modules to their final location they should get the correct uid/gid/perms.

What does "making system administration difficult" mean, what is the actual problem? Can't it be solved by chown -R goldens:goldens /home/goldens/.cpan/.build or even rm -r /home/goldens/.cpan/.build?

tar has the --no-same-owner option, but apparently CPAN uses Archive::Tar by default, and I'm not sure if Archive::Tar can do the same kind of thing. Maybe (untested) you could try setting the CPAN option prefer_external_tar and then using the TAR_OPTIONS environment variable to give tar the --no-same-owner option.

Replies are listed 'Best First'.
Re^2: cpan build environment
by DennisLGolden (Initiate) on Jul 06, 2016 at 19:19 UTC

    If UID and GID are always 1000:1000 from CPAN, I can live with it. I just could find nothing documented about that.

    "making system administration difficult" means that I have an allocated group with GID 1000. When using find to collect this information, it was also finding everything in the CPAN build tree as well.