]> granicus.if.org Git - python/commit
Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError
authorGregory P. Smith <greg@krypto.org>
Sun, 3 Jun 2012 21:35:09 +0000 (14:35 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 3 Jun 2012 21:35:09 +0000 (14:35 -0700)
commitf0a9a9b50264cb9323eb8264af5dc03a7d2bb1b4
treea6d35ee23113002c08f7f74b1ea5b3560a5ae5de
parent82ffabdfa4de985690c76fd7498a77e9604e1747
parenta81c8564365d4485bcf1d413b92fb275c091831d
Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError
when the path existed and had the S_ISGID mode bit set when it was
not explicitly asked for.  This is no longer an exception as mkdir
cannot control if the OS sets that bit for it or not.
Lib/os.py
Lib/test/test_os.py
Misc/NEWS