New submission from Daviddcc <david.cas...@aevoo.fr>:

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

----------
components: Library (Lib)
messages: 410480
nosy: dcasier
priority: normal
severity: normal
status: open
title: Recursively propagate the mode, in os.makedirs
type: behavior
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to