[ python-Bugs-977937 ] "build" target doesn't check umask

SourceForge.net noreply at sourceforge.net
Tue Jun 22 22:26:07 EDT 2004


Bugs item #977937, was opened at 2004-06-22 20:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=977937&group_id=5470

Category: Distutils
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Charles (melicertes)
Assigned to: Nobody/Anonymous (nobody)
Summary: "build" target doesn't check umask

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=977937&group_id=5470



More information about the Python-bugs-list mailing list