Skip to content

Commit ae43f35

Browse files
authored
Update file.c
1 parent a4e6b49 commit ae43f35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sandboxie/core/dll/file.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2447,8 +2447,8 @@ _FX NTSTATUS File_NtCreateFileImpl(
24472447
){
24482448

24492449
//
2450-
// MSIServer when accessing \??\C:\WINDOWS\Installer\???????.msi files will get a PROGOLEGE_NOT_HELD error when requesting ACCESS_SYSTEM_SECURITY
2451-
// Howeever if we broadly clear this flag we will get error 1946 'System.AppUserModel.ID' could not be set on *.lnk files
2450+
// MSIServer when accessing \??\C:\WINDOWS\Installer\???????.msi files will get a PRIVILEGE_NOT_HELD error when requesting ACCESS_SYSTEM_SECURITY
2451+
// However, if we broadly clear this flag we will get Warning 1946 Property 'System.AppUserModel.ID' could not be set on *.lnk files
24522452
//
24532453

24542454
DesiredAccess &= ~ACCESS_SYSTEM_SECURITY;
@@ -3042,7 +3042,7 @@ _FX NTSTATUS File_NtCreateFileImpl(
30423042

30433043
//
30443044
// MSI must not fail accessing \??\C:\WINDOWS\Installer\Config.msi but this folder is readable only for system,
3045-
// so we create a boxed copy copy instead and open it
3045+
// so we create a boxed copy instead and open it
30463046
//
30473047

30483048
RtlInitUnicodeString(&objname, CopyPath);
@@ -6907,4 +6907,4 @@ _FX BOOLEAN DigitalGuardian_Init(HMODULE hModule)
69076907
Dll_DigitalGuardian = hModule;
69086908

69096909
return TRUE;
6910-
}
6910+
}

0 commit comments

Comments
 (0)