diff options
author | Steve Dower <steve.dower@python.org> | 2024-05-02 14:20:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 14:20:43 (GMT) |
commit | 81939dad77001556c527485d31a2d0f4a759033e (patch) | |
tree | c494f3abbfdc01dc931ef6edcaa9ed4bf0480951 /Doc | |
parent | b3372481b6cae5766330b041c4622c28cee2119f (diff) | |
download | cpython-81939dad77001556c527485d31a2d0f4a759033e.zip cpython-81939dad77001556c527485d31a2d0f4a759033e.tar.gz cpython-81939dad77001556c527485d31a2d0f4a759033e.tar.bz2 |
gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 844b5f2..6c92eed 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2430,6 +2430,10 @@ features: platform-dependent. On some platforms, they are ignored and you should call :func:`chmod` explicitly to set them. + On Windows, a *mode* of ``0o700`` is specifically handled to apply access + control to the new directory such that only the current user and + administrators have access. Other values of *mode* are ignored. + This function can also support :ref:`paths relative to directory descriptors <dir_fd>`. @@ -2444,6 +2448,9 @@ features: .. versionchanged:: 3.6 Accepts a :term:`path-like object`. + .. versionchanged:: 3.13 + Windows now handles a *mode* of ``0o700``. + .. function:: makedirs(name, mode=0o777, exist_ok=False) |