This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "build" target doesn't check umask
Type: Stage:
Components: Distutils Versions: Python 2.3
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: melicertes
Priority: normal Keywords:

Created on 2004-06-23 02:26 by melicertes, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg21254 - (view) Author: Charles (melicertes) Date: 2004-06-23 02:26
Normal procedure is to do "python setup.py build" as a
non-root user, doing only "python setup.py install" as
root.  If the non-root user has a restrictive umask
(i.e. 077), the built files will be mode 0600 (in
directories created 0700), etc, and "setup.py install"
will not make them world readable, so you end up with
things like doc files installed mode 0600 in a new
directory under /usr/share/doc/ that's mode 0700 and no
one but root can  read/use them.
msg21255 - (view) Author: Charles (melicertes) Date: 2004-09-09 20:37
Logged In: YES 
user_id=1064824

I guess I'll just manually set my umask before running
distutils setup scripts.  Not the most user-friendly.
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40437
2004-06-23 02:26:07melicertescreate