Skip to content

Commit 549f3cf

Browse files
committed
issue 18: Explicitly use chmod to set directory modes (ulimit is currently 0007).
1 parent 2899596 commit 549f3cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_docs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ def build_one(version, isdev, quick, sphinxbuild, build_root, www_root,
173173
'-D gettext_compact=0').format(locale_dirs,
174174
gettext_language_tag)
175175
if not os.path.exists(target):
176-
os.makedirs(target, mode=0o775)
176+
os.makedirs(target)
177+
os.chmod(target, 0o775)
177178
shell_out("chgrp -R {group} {file}".format(group=group, file=target))
178179
logging.info("Doc autobuild started in %s", checkout)
179180
os.chdir(checkout)

0 commit comments

Comments
 (0)