mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-05 21:05:46 +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'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
||||
ProcessUtilities.executioner(command)
|
||||
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||
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'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
||||
ProcessUtilities.executioner(command)
|
||||
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||
ProcessUtilities.executioner(command, None, True)
|
||||
|
||||
for website in Websites.objects.all():
|
||||
import tldextract
|
||||
@@ -2903,8 +2903,8 @@ class CloudManager:
|
||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
|
||||
ProcessUtilities.executioner(command)
|
||||
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/*.tldextract.json'
|
||||
ProcessUtilities.executioner(command, None, True)
|
||||
|
||||
from websiteFunctions.models import ChildDomains
|
||||
for website in ChildDomains.objects.all():
|
||||
|
||||
Reference in New Issue
Block a user