Vulnerability Context: - URL: (Removed to avoid exposing) - Commit ID: 8ed5466 - Commit Message: "gh-118486: Switch mkdir(mode=0o700) on Windows to use OWNER RIGHTS instead of CURRENT_USER (GH-118515)" - Author: zooba - Date: May 3, 2024 Primary File Affected: Modules/posixmodule.c Key Changes: - The commit introduces a conditional check to determine whether to use an alias or a well-known group based on a successful call to for . - If the call succeeds ( ), the code uses an alias for the trustee name ( ). - If the call fails, the code uses the owner's rights SID as the trustee. Implications: - The modification aims to address a scenario where security attributes for file creation on Windows could potentially be set incorrectly due to using instead of , as indicated by the commit message referencing GH issue. This change ensures proper ownership and security settings when creating directories with specific permissions. - The patch enhances robustness in controlling directory access attributes.