Update file.c

This commit is contained in:
isaak654 2021-07-13 01:11:37 +02:00 committed by GitHub
parent a4e6b4913b
commit ae43f35c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
}