Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acl issue during update #238

Open
aviv-julienjehannet opened this issue May 31, 2023 · 0 comments
Open

acl issue during update #238

aviv-julienjehannet opened this issue May 31, 2023 · 0 comments

Comments

@aviv-julienjehannet
Copy link

Microsoft Version: 21H1 (Build Number: 19043.1645)

Get this error after a scoop update -f meslo-NF command:

Set-Acl : Die Vertrauensstellung zwischen dieser Arbeitsstation und der primären Domäne konnte nicht hergestellt werden.
In Zeile:27 Zeichen:5
+     Set-Acl -AclObject $accessControlList $fontInstallDir
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (C:\Users\*user*\Windows\Fonts:String) [Set-Acl], SystemException
    + FullyQualifiedErrorId : System.SystemException,Microsoft.PowerShell.Commands.SetAclCommand

Regarding the ACL permissions, Sddl is maybe interesting for being reviewed:

❯ Get-Acl "${env:LOCALAPPDATA}\Microsoft\Windows\Fonts" | Format-List

Path   : Microsoft.PowerShell.Core\FileSystem::C:\Users\*user*\AppData\Local\Microsoft\Windows\Fonts
Owner  : *OWNER\User*
Group  :
Access : ZERTIFIZIERUNGSSTELLE FÜR ANWENDUNGSPAKETE\ALLE ANWENDUNGSPAKETE Allow  ReadAndExecute, Synchronize
         ZERTIFIZIERUNGSSTELLE FÜR ANWENDUNGSPAKETE\ALLE EINGESCHRÄNKTEN ANWENDUNGSPAKETE Allow  ReadAndExecute, Synchronize
         NT-AUTORITÄT\SYSTEM Allow  FullControl
         VORDEFINIERT\Administratoren Allow  FullControl
         *OWNER\User* Allow  FullControl
Audit  :
Sddl   : O:S-1-5-21-555970217-2657137822-3159326059-4293G:DUD:(A;OICI;0x1200a9;;;AC)(A;OICI;0x1200a9;;;S-1-15-2-2)(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;S-1-
         5-21-555970217-2657137822-3159326059-4293)

Any idea of the original cause ?

N.B. Content enclosed by stars has been rewritten for confidentiality reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant