Skip to content

Commit 765eaed

Browse files
committed
change permission for backup file
1 parent 316d306 commit 765eaed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plogical/backupUtilities.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ def BackupRoot(tempStoragePath, backupName, backupPath, metaPath=None):
482482
1024.0 * 1024.0))) + "MB"
483483
items.save()
484484

485+
command = 'chmod 600 %s' % (os.path.join(backupPath,backupName+".tar.gz"))
486+
ProcessUtilities.executioner(command)
487+
485488
logging.CyberCPLogFileWriter.statusWriter(status, "Completed\n")
486489
os.remove(pidFile)
487490

0 commit comments

Comments
 (0)