minor bug fix to scheduled backups

This commit is contained in:
Usman Nasir
2019-07-25 14:12:54 +05:00
parent 91c9c22f38
commit e66f061a4a
5 changed files with 112 additions and 49 deletions

View File

@@ -1151,7 +1151,7 @@ class preFlightsChecks:
'Change permissions for client.', 1, 0, os.EX_OSERR)
impFile = ['/etc/pure-ftpd/pure-ftpd.conf', '/etc/pure-ftpd/pureftpd-pgsql.conf', '/etc/pure-ftpd/pureftpd-mysql.conf', '/etc/pure-ftpd/pureftpd-ldap.conf',
'/etc/dovecot/dovecot.conf', '/etc/pdns/pdns.conf', '/etc/pure-ftpd/db/mysql.conf']
'/etc/dovecot/dovecot.conf', '/etc/pdns/pdns.conf', '/etc/pure-ftpd/db/mysql.conf', '/etc/powerdns/pdns.conf']
for items in impFile:
command = 'chmod 600 %s' % (items)