mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixes cache folder permissions after update
This commit is contained in:
parent
567e91a04a
commit
21fc6937a8
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ function Install-IcingaFrameworkUpdate()
|
||||||
Move-Item -Path (Join-Path -Path $ModuleDirectory -ChildPath $Extracted) -Destination $NewDirectory;
|
Move-Item -Path (Join-Path -Path $ModuleDirectory -ChildPath $Extracted) -Destination $NewDirectory;
|
||||||
|
|
||||||
Unblock-IcingaPowerShellFiles -Path $NewDirectory;
|
Unblock-IcingaPowerShellFiles -Path $NewDirectory;
|
||||||
|
# Fix new permissions for cache folder
|
||||||
|
Set-IcingaAcl -Directory (Get-IcingaCacheDir);
|
||||||
|
|
||||||
Test-IcingaAgent;
|
Test-IcingaAgent;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue