Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Anonymous Monk
on Jul 05, 2016 at 22:12 UTC ( [id://1167283]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1167283]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found