Skip to content

Commit 7686dbc

Browse files
committed
bug fix: upgrade process
1 parent b248133 commit 7686dbc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

install/install.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,9 @@ def fixCyberPanelPermissions(self):
11741174
command = 'chmod 640 /etc/dovecot/dovecot-sql.conf.ext'
11751175
subprocess.call(command, shell=True)
11761176

1177+
command = 'chmod 644 /etc/postfix/dynamicmaps.cf'
1178+
subprocess.call(command, shell=True)
1179+
11771180
fileM = ['/usr/local/lsws/FileManager/', '/usr/local/CyberCP/install/FileManager',
11781181
'/usr/local/CyberCP/serverStatus/litespeed/FileManager', '/usr/local/lsws/Example/html/FileManager']
11791182

plogical/upgrade.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,6 +1499,9 @@ def fixPermissions():
14991499
command = 'chmod 644 /etc/postfix/main.cf'
15001500
subprocess.call(command, shell=True)
15011501

1502+
command = 'chmod 644 /etc/postfix/dynamicmaps.cf'
1503+
subprocess.call(command, shell=True)
1504+
15021505
Upgrade.stdOut("Permissions updated.")
15031506

15041507
except BaseException, msg:

0 commit comments

Comments
 (0)