-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
verify_directory should respect umask #101
Comments
Anonymous wrote: looks like this code was lifted from beaker.util. filed a [http://pylonshq.com/project/pylonshq/ticket/567 corresponding ticket] in the pylons trac. |
Anonymous wrote: note: the line
could of course be simplified to
if you're into the whole brevity thing. |
Anonymous wrote: alternatively it may be preferable to effect more permissions-sensitive behavior via configuration options |
Anonymous wrote: discussed with zzzeek in #pylons, decided this is really a [http://bugs.python.org/issue5220 python bug]. a workaround like the above (though preferably a more platform independent one) can be used if desired until this is fixed in python. |
Anonymous wrote: Replying to [comment:4 guest]:
|
Michael Bayer (@zzzeek) wrote: I think we decided here to just use 0775 for the mask. |
Changes by Michael Bayer (@zzzeek):
|
Migrated issue, originally created by Anonymous
Currently util.verify_directory is hardcoding the mode of 0750 in its call to
os.makedirs
. The following patch checks the umask and passes mode along accordingly:The text was updated successfully, but these errors were encountered: