zm-oai
b93a7b1512
Repair legacy Windows sandbox bin permissions for SYSTEM ( #59745 )
...
## Why
Legacy `.sandbox-bin` ACLs grant `SYSTEM` Modify access without `WRITE_DAC`, preventing the provisioning service from reapplying the bin policy.
## What changed
- Grant `SYSTEM` inheritable `WRITE_DAC` access when protecting the sandbox bin so it can update permissions on the directory and its children.
- Before legacy provisioning, repair the old ACL through an authenticated owner handle when `SYSTEM` is denied access. Upgrade only the expected SYSTEM entry in a protected, allow-only ACL, reject unexpected permissions, and verify that `SYSTEM` can reopen the directory with `WRITE_DAC`.
## Testing
Extend ACL coverage to check `SYSTEM` permissions on the bin and existing and newly created runner files. Add an ignored Windows integration test requiring LocalSystem and user-owned legacy homes to cover successful repair, repeated repair, and rejection of an explicit SYSTEM deny entry.
GitOrigin-RevId: 2303cdf5182947c2d044c79ac7027a16f0373c7d
2026-11-05 21:33:57 +00:00
..
2026-11-05 11:22:06 +00:00
2026-10-29 17:25:51 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 12:33:26 +00:00
2026-11-05 16:08:23 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 17:34:20 +00:00
2026-11-05 18:22:37 +00:00
2026-11-03 04:20:50 +00:00
2026-11-05 20:55:46 +00:00
2026-11-02 16:00:20 +00:00
2026-11-04 21:33:28 +00:00
2026-11-02 17:05:56 +00:00
2026-10-26 20:26:32 +00:00
2026-11-04 00:19:12 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 16:41:33 +00:00
2026-11-05 04:25:19 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 07:13:37 +00:00
2026-11-05 07:13:37 +00:00
2026-11-05 07:13:37 +00:00
2026-10-29 01:04:48 +00:00
2026-11-05 03:49:13 +00:00
2026-10-19 21:43:19 +00:00
2026-11-04 22:55:22 +00:00
2026-11-05 13:38:12 +00:00
2026-10-30 20:39:47 +00:00
2026-10-29 18:24:34 +00:00
2026-11-05 21:21:19 +00:00
2026-11-04 19:58:24 +00:00
2026-10-19 15:15:17 +00:00
2026-11-05 03:49:13 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 23:49:01 +00:00
2026-11-03 04:08:59 +00:00
2026-11-05 08:10:44 +00:00
2026-11-05 17:56:59 +00:00
2026-11-05 04:25:19 +00:00
2026-10-27 23:53:09 +00:00
2026-11-05 00:55:46 +00:00
2026-11-05 20:57:03 +00:00
2026-11-05 03:49:13 +00:00
2026-11-05 13:38:12 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 17:34:20 +00:00
2026-11-04 01:13:54 +00:00
2026-11-04 09:51:28 +00:00
2026-11-04 13:02:36 +00:00
2026-11-04 13:03:01 +00:00
2026-10-26 19:21:08 +00:00
2026-11-05 04:25:19 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 20:56:09 +00:00
2026-11-04 22:03:18 +00:00
2026-11-04 22:43:34 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 18:12:28 +00:00
2026-11-02 20:34:35 +00:00
2026-10-22 19:36:47 +00:00
2026-11-05 05:09:32 +00:00
2026-11-02 08:31:14 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 23:00:54 +00:00
2026-10-26 18:22:40 +00:00
2026-11-04 19:57:30 +00:00
2026-10-27 16:36:32 +00:00
2026-11-03 01:58:18 +00:00
2026-11-04 19:58:49 +00:00
2026-11-03 21:02:34 +00:00
2026-10-19 16:56:42 +00:00
2026-11-05 19:46:31 +00:00
2026-11-04 19:58:49 +00:00
2026-10-30 14:40:32 +00:00
2026-11-03 23:35:00 +00:00
2026-11-05 11:13:04 +00:00
2026-10-27 05:52:01 +00:00
2026-11-04 23:46:52 +00:00
2026-10-27 05:52:01 +00:00
2026-10-29 17:49:51 +00:00
2026-11-04 19:58:49 +00:00
2026-10-22 00:19:02 +00:00
2026-10-30 07:11:56 +00:00
2026-11-05 13:38:12 +00:00
2026-11-05 15:01:44 +00:00
2026-10-30 20:53:25 +00:00
2026-11-05 21:05:51 +00:00
2026-11-05 19:46:31 +00:00
2026-10-30 16:35:54 +00:00
2026-11-04 09:51:28 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 15:02:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-04 00:52:58 +00:00
2026-10-28 21:09:05 +00:00
2026-11-05 19:46:31 +00:00
2026-11-05 01:34:00 +00:00
2026-11-05 11:22:06 +00:00
2026-10-27 05:52:01 +00:00