mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
gh-118486: Simplify test_win32_mkdir_700 to check the exact ACL (GH-119056)
This commit is contained in:
parent
ee13797dec
commit
94591dca51
2 changed files with 9 additions and 16 deletions
|
|
@ -5590,7 +5590,7 @@ os_mkdir_impl(PyObject *module, path_t *path, int mode, int dir_fd)
|
|||
if (mode == 0700 /* 0o700 */) {
|
||||
ULONG sdSize;
|
||||
pSecAttr = &secAttr;
|
||||
// Set a discreationary ACL (D) that is protected (P) and includes
|
||||
// Set a discretionary ACL (D) that is protected (P) and includes
|
||||
// inheritable (OICI) entries that allow (A) full control (FA) to
|
||||
// SYSTEM (SY), Administrators (BA), and the owner (OW).
|
||||
if (!ConvertStringSecurityDescriptorToSecurityDescriptorW(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue