mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-15 12:02:06 +01:00
bug fix: preseve file permissions while creating conf backups
This commit is contained in:
@@ -1866,10 +1866,10 @@ imap_folder_list_limit = 0
|
||||
command = 'mkdir %s' % (configbackups)
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
command = 'cp -R %s %s' % (dovecotConfPath, configbackups)
|
||||
command = 'cp -pR %s %s' % (dovecotConfPath, configbackups)
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
command = 'cp -R %s %s' % (postfixConfPath, configbackups)
|
||||
command = 'cp -pR %s %s' % (postfixConfPath, configbackups)
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
if os.path.exists(CentOSPath):
|
||||
|
||||
Reference in New Issue
Block a user