mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-03 20:40:17 -05:00
Windows: set ACLs for %ProgramData%\icinga2\var as well
This commit is contained in:
parent
0d32ae3159
commit
a8fc8f0591
1 changed files with 1 additions and 0 deletions
|
|
@ -272,6 +272,7 @@ static int InstallIcinga(void)
|
|||
|
||||
ExecuteCommand("icacls", "\"" + dataDir + "\" /grant *S-1-5-20:(oi)(ci)m");
|
||||
ExecuteCommand("icacls", "\"" + dataDir + "\\etc\" /inheritance:r /grant:r *S-1-5-20:(oi)(ci)m *S-1-5-32-544:(oi)(ci)f");
|
||||
ExecuteCommand("icacls", "\"" + dataDir + "\\var\" /inheritance:r /grant:r *S-1-5-20:(oi)(ci)m *S-1-5-32-544:(oi)(ci)f");
|
||||
|
||||
ExecuteIcingaCommand("--scm-install daemon");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue