Commit e4a80d4f authored by Volker Braun's avatar Volker Braun

Default to 755 permissions since checks later on test for non-group-writability

parent 6d69e5a0
......@@ -2958,7 +2958,7 @@ def ensure_directory(path):
os.makedirs(dirname)
def _bypass_ensure_directory(path, mode=0o777):
def _bypass_ensure_directory(path, mode=0o755):
"""Sandbox-bypassing version of ensure_directory()"""
if not WRITE_SUPPORT:
raise IOError('"os.mkdir" not supported on this platform.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment