From 8ca4a6d965b11732648d47eb192e8e89097d39b1 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 26 Sep 2022 23:34:49 +0500 Subject: [PATCH] bug fix: pdns --- install/install.py | 2 +- mailServer/mailserverManager.py | 2 +- plogical/upgrade.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/install.py b/install/install.py index 197e3cedb..bc8ce0635 100755 --- a/install/install.py +++ b/install/install.py @@ -655,7 +655,7 @@ password="%s" command = 'chmod 640 /etc/pdns/pdns.conf' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) else: - command = 'chown root:powerdns /etc/powerdns/pdns.conf' + command = 'chown root:pdns /etc/powerdns/pdns.conf' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) command = 'chmod 640 /etc/powerdns/pdns.conf' diff --git a/mailServer/mailserverManager.py b/mailServer/mailserverManager.py index 48944228d..fda01047e 100755 --- a/mailServer/mailserverManager.py +++ b/mailServer/mailserverManager.py @@ -1577,7 +1577,7 @@ milter_default_action = accept command = 'chmod 640 /etc/pdns/pdns.conf' ProcessUtilities.executioner(command) else: - command = 'chown root:powerdns /etc/powerdns/pdns.conf' + command = 'chown root:pdns /etc/powerdns/pdns.conf' ProcessUtilities.executioner(command) command = 'chmod 640 /etc/powerdns/pdns.conf' diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 3db561792..2f4e41d35 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2219,7 +2219,7 @@ echo $oConfig->Save() ? 'Done' : 'Error'; command = 'chmod 640 /etc/pdns/pdns.conf' Upgrade.executioner(command, 0) else: - command = 'chown root:powerdns /etc/powerdns/pdns.conf' + command = 'chown root:pdns /etc/powerdns/pdns.conf' Upgrade.executioner(command, 0) command = 'chmod 640 /etc/powerdns/pdns.conf'