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

SourceForge.net noreply at sourceforge.net
Thu Sep 9 22:37:19 CEST 2004


Bugs item #977937, was opened at 2004-06-22 20:26
Message generated for change (Comment added) made by melicertes
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: Closed
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.


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

>Comment By: Charles (melicertes)
Date: 2004-09-09 14:37

Message:
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.


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

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