From 9741c81a7b7c4e8de6aee2f979b4c3fb52afd47d Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Tue, 5 Oct 2021 12:46:23 +0500 Subject: [PATCH] bug fix: https://youtu.be/LkjN5DCWb0o?t=430 --- cloudAPI/cloudManager.py | 6 +++--- mailServer/mailserverManager.py | 4 ++-- plogical/dnsUtilities.py | 4 ++-- plogical/mailUtilities.py | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cloudAPI/cloudManager.py b/cloudAPI/cloudManager.py index 09b126c6b..d808c76a4 100755 --- a/cloudAPI/cloudManager.py +++ b/cloudAPI/cloudManager.py @@ -2829,7 +2829,7 @@ class CloudManager: command = 'chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) ## @@ -2849,7 +2849,7 @@ class CloudManager: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) for website in Websites.objects.all(): @@ -2894,7 +2894,7 @@ class CloudManager: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) from websiteFunctions.models import ChildDomains diff --git a/mailServer/mailserverManager.py b/mailServer/mailserverManager.py index 75685f35b..dc26fef9c 100755 --- a/mailServer/mailserverManager.py +++ b/mailServer/mailserverManager.py @@ -662,7 +662,7 @@ class MailServerManager(multi.Thread): command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) import tldextract @@ -727,7 +727,7 @@ class MailServerManager(multi.Thread): command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) import tldextract diff --git a/plogical/dnsUtilities.py b/plogical/dnsUtilities.py index 097644878..0a259bfc4 100755 --- a/plogical/dnsUtilities.py +++ b/plogical/dnsUtilities.py @@ -117,7 +117,7 @@ class DNS: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) import tldextract @@ -524,7 +524,7 @@ class DNS: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) import tldextract diff --git a/plogical/mailUtilities.py b/plogical/mailUtilities.py index 7abe0c82b..14bdf361b 100755 --- a/plogical/mailUtilities.py +++ b/plogical/mailUtilities.py @@ -221,7 +221,7 @@ class mailUtilities: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) - command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/' + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) import tldextract