in reply to cpan build environment

And what is the uid/gid of the user who ran cpan?

Check your umask

You can see for yourself , cpan doesn't really change permissions on its own, http://search.cpan.org/grep?cpanid=ANDK&release=CPAN-2.14&string=chown&i=1&n=1&C=5, http://search.cpan.org/grep?cpanid=ANDK&release=CPAN-2.14&string=gid&i=1&n=1&C=5, http://search.cpan.org/grep?cpanid=ANDK&release=CPAN-2.14&string=chgrp&i=1&n=1&C=5

  • Comment on Re: cpan build environment ( uid 1000 and gid 1000 umask chown setgid chgrp )

Replies are listed 'Best First'.
Re^2: cpan build environment ( uid 1000 and gid 1000 umask chown setgid chgrp )
by DennisLGolden (Initiate) on Jul 06, 2016 at 19:06 UTC

    User is root so uid/gid = 0:0. Thanks for the links. I assume then that ALL the tar files from CPAN are 1000:1000?

      Thanks for the links. I assume then that ALL the tar files from CPAN are 1000:1000?

      Um, why assume that?

      From what I can tell, CPAN ignores completely uid/gid from tarballs, which means the files end up with the current users uid/gid