[Python-bugs-list] [ python-Feature Requests-697575 ] Warn on potentially useless umasks?

SourceForge.net noreply@sourceforge.net
Fri, 27 Jun 2003 12:37:49 -0700


Feature Requests item #697575, was opened at 2003-03-04 16:28
Message generated for change (Comment added) made by montanaro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=697575&group_id=5470

Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: A.M. Kuchling (akuchling)
Summary: Warn on potentially useless umasks?

Initial Comment:
I noticed quite by accident today that distutils seems to take into
account the installer's umask setting when spambayes got
installed with these notices:

changing mode of /usr/local/bin/unheader.py to 711
changing mode of /usr/local/bin/hammie.py to 711
changing mode of /usr/local/bin/hammiecli.py to 711
changing mode of /usr/local/bin/hammiesrv.py to 711
...

The root user's umask was 077.  Perhaps distutils should
warn the installer when scripts or modules would be installed
but not readable.

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

>Comment By: Skip Montanaro (montanaro)
Date: 2003-06-27 14:37

Message:
Logged In: YES 
user_id=44345

It appears this was fixed on CVS head back in November.  Perhaps
I was using 2.2 when I posted this.  Applied to 1.10.26.2 for the
2.2 maintenance branch.


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

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