mirror of
https://github.com/electron/electron.git
synced 2026-01-06 22:24:03 -05:00
chore: skip setting LPAC ACLs
This commit is contained in:
committed by
John Kleinschmidt
parent
e5385b4155
commit
e187aec488
@@ -142,3 +142,4 @@ expose_referrerscriptinfo_hostdefinedoptionsindex.patch
|
||||
chore_disable_protocol_handler_dcheck.patch
|
||||
fix_check_for_file_existence_before_setting_mtime.patch
|
||||
fix_linux_tray_id.patch
|
||||
chore_disable_set_appcontainer_acls_py.patch
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: John Kleinschmidt <jkleinsc@electronjs.org>
|
||||
Date: Tue, 2 Dec 2025 13:19:50 -0500
|
||||
Subject: chore: disable set_appcontainer_acls.py
|
||||
|
||||
Setting the LPAC ACLS is causing issues when running on our Windows 2022
|
||||
CI servers, so disable this step.
|
||||
|
||||
diff --git a/testing/scripts/common.py b/testing/scripts/common.py
|
||||
index 208b0d1deffd97dc044c70c0c837f2401b419620..2b588f8c15e39d5dc8fbe170accceac5d13a0d7a 100644
|
||||
--- a/testing/scripts/common.py
|
||||
+++ b/testing/scripts/common.py
|
||||
@@ -62,7 +62,7 @@ CORRECT_ACL_VARIANTS = [
|
||||
|
||||
def set_lpac_acls(acl_dir, is_test_script=False):
|
||||
"""Sets LPAC ACLs on a directory. Windows 10 only."""
|
||||
- if platform.release() != '10':
|
||||
+ if '11' != '10':
|
||||
return
|
||||
try:
|
||||
existing_acls = subprocess.check_output(['icacls', acl_dir],
|
||||
Reference in New Issue
Block a user