mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixes cache folder permissions after update
This commit is contained in:
parent
2cc1e013a5
commit
8b8351b365
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;
|
||||
|
||||
Unblock-IcingaPowerShellFiles -Path $NewDirectory;
|
||||
# Fix new permissions for cache folder
|
||||
Set-IcingaAcl -Directory (Get-IcingaCacheDir);
|
||||
|
||||
Test-IcingaAgent;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue