Skip to content
Permalink
Browse files

bug fix: upgrade process

  • Loading branch information...
usmannasir committed Aug 27, 2019
1 parent b248133 commit 7686dbcb7312f42ec95bc9b9454a540ea28eaa33
Showing with 6 additions and 0 deletions.
  1. +3 −0 install/install.py
  2. +3 −0 plogical/upgrade.py
@@ -1174,6 +1174,9 @@ def fixCyberPanelPermissions(self):
command = 'chmod 640 /etc/dovecot/dovecot-sql.conf.ext'
subprocess.call(command, shell=True)

command = 'chmod 644 /etc/postfix/dynamicmaps.cf'
subprocess.call(command, shell=True)

fileM = ['/usr/local/lsws/FileManager/', '/usr/local/CyberCP/install/FileManager',
'/usr/local/CyberCP/serverStatus/litespeed/FileManager', '/usr/local/lsws/Example/html/FileManager']

@@ -1499,6 +1499,9 @@ def fixPermissions():
command = 'chmod 644 /etc/postfix/main.cf'
subprocess.call(command, shell=True)

command = 'chmod 644 /etc/postfix/dynamicmaps.cf'
subprocess.call(command, shell=True)

Upgrade.stdOut("Permissions updated.")

except BaseException, msg:

0 comments on commit 7686dbc

Please sign in to comment.
You can’t perform that action at this time.