Fixes cache folder permissions after update

This commit is contained in:
Lord Hepipud 2019-11-03 16:31:02 +01:00
parent 567e91a04a
commit 21fc6937a8

View file

@ -90,6 +90,8 @@ function Install-IcingaFrameworkUpdate()
Move-Item -Path (Join-Path -Path $ModuleDirectory -ChildPath $Extracted) -Destination $NewDirectory;
Unblock-IcingaPowerShellFiles -Path $NewDirectory;
# Fix new permissions for cache folder
Set-IcingaAcl -Directory (Get-IcingaCacheDir);
Test-IcingaAgent;