This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dcasier
Recipients dcasier
Date 2022-01-13.10:07:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642068474.42.0.461726294007.issue46366@roundup.psfhosted.org>
In-reply-to
Content
os.makedirs do not propagate the requested rights, recursively creating directories with a 777 mode :

def makedirs(name, mode=0o777, exist_ok=False):
(...)
    if head and tail and not path.exists(head):
        try:
            makedirs(head, exist_ok=exist_ok) # <= HERE
History
Date User Action Args
2022-01-13 10:07:54dcasiersetrecipients: + dcasier
2022-01-13 10:07:54dcasiersetmessageid: <1642068474.42.0.461726294007.issue46366@roundup.psfhosted.org>
2022-01-13 10:07:54dcasierlinkissue46366 messages
2022-01-13 10:07:54dcasiercreate