From ae43f35c21382c465377a547a8faa732cc4c2cda Mon Sep 17 00:00:00 2001 From: isaak654 Date: Tue, 13 Jul 2021 01:11:37 +0200 Subject: [PATCH] Update file.c --- Sandboxie/core/dll/file.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sandboxie/core/dll/file.c b/Sandboxie/core/dll/file.c index 645d5659..7d8f5f64 100644 --- a/Sandboxie/core/dll/file.c +++ b/Sandboxie/core/dll/file.c @@ -2447,8 +2447,8 @@ _FX NTSTATUS File_NtCreateFileImpl( ){ // - // MSIServer when accessing \??\C:\WINDOWS\Installer\???????.msi files will get a PROGOLEGE_NOT_HELD error when requesting ACCESS_SYSTEM_SECURITY - // Howeever if we broadly clear this flag we will get error 1946 'System.AppUserModel.ID' could not be set on *.lnk files + // MSIServer when accessing \??\C:\WINDOWS\Installer\???????.msi files will get a PRIVILEGE_NOT_HELD error when requesting ACCESS_SYSTEM_SECURITY + // However, if we broadly clear this flag we will get Warning 1946 Property 'System.AppUserModel.ID' could not be set on *.lnk files // DesiredAccess &= ~ACCESS_SYSTEM_SECURITY; @@ -3042,7 +3042,7 @@ ReparseLoop: // // MSI must not fail accessing \??\C:\WINDOWS\Installer\Config.msi but this folder is readable only for system, - // so we create a boxed copy copy instead and open it + // so we create a boxed copy instead and open it // RtlInitUnicodeString(&objname, CopyPath); @@ -6907,4 +6907,4 @@ _FX BOOLEAN DigitalGuardian_Init(HMODULE hModule) Dll_DigitalGuardian = hModule; return TRUE; -} \ No newline at end of file +}