From fde8b240b8a8b8e48245441ffa448af491277a1e Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 26 Sep 2022 23:08:42 +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 bc8ce0635..197e3cedb 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:pdns /etc/powerdns/pdns.conf' + command = 'chown root:powerdns /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 fda01047e..48944228d 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:pdns /etc/powerdns/pdns.conf' + command = 'chown root:powerdns /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 2f4e41d35..3db561792 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:pdns /etc/powerdns/pdns.conf' + command = 'chown root:powerdns /etc/powerdns/pdns.conf' Upgrade.executioner(command, 0) command = 'chmod 640 /etc/powerdns/pdns.conf'