I am forwarding the message below from a colleague using easy_install for setuptools-0.6c7. It doesn't appear to set permissions correctly on directories if umask is set to a non-standard value. Alan's suggested default behaviour sounds right to me.
Cheers, Stephen. --- Stephen Pascoe +44 (0)1235 445980 British Atmospheric Data Centre Rutherford Appleton Laboratory -----Original Message----- From: Alan Iwi [mailto:[EMAIL PROTECTED] Sent: 12 December 2007 08:39 To: Pascoe, S (Stephen) Subject: easy_install bug report Stephen, Please can you pass this on to people who care about such things, as I don't know who to contact. I tried using easy_install while having umask set to 027. (This is the umask that I have set up in my user account, and after "su" the root shell inherited the same umask.) Although it was careful enough to create regular files with world access permissions, it created directories with permissions subject to the umask, i.e. mode 750 rather than 755, so the installed package did not work properly for non-root users. I changed the permissions on the directories and it seems to be otherwise fine. I think that easy_install should create directories with world access, regardless of the umask setting (at least by default, when writing to the shared python directory as root). Thanks, Alan _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
