mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
bug fix: tldextract permissions
This commit is contained in:
@@ -2832,8 +2832,8 @@ class CloudManager:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
@@ -2855,8 +2855,8 @@ class CloudManager:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
for website in Websites.objects.all():
|
for website in Websites.objects.all():
|
||||||
import tldextract
|
import tldextract
|
||||||
@@ -2903,8 +2903,8 @@ class CloudManager:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
from websiteFunctions.models import ChildDomains
|
from websiteFunctions.models import ChildDomains
|
||||||
for website in ChildDomains.objects.all():
|
for website in ChildDomains.objects.all():
|
||||||
|
|||||||
@@ -665,8 +665,8 @@ class MailServerManager(multi.Thread):
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
import tldextract
|
import tldextract
|
||||||
|
|
||||||
@@ -733,8 +733,8 @@ class MailServerManager(multi.Thread):
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
import tldextract
|
import tldextract
|
||||||
|
|
||||||
|
|||||||
@@ -120,8 +120,8 @@ class DNS:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
import tldextract
|
import tldextract
|
||||||
|
|
||||||
@@ -530,8 +530,8 @@ class DNS:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
import tldextract
|
import tldextract
|
||||||
|
|
||||||
|
|||||||
@@ -314,8 +314,8 @@ class mailUtilities:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command, None, True)
|
||||||
|
|
||||||
import tldextract
|
import tldextract
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user