diff --git a/backup/backupManager.py b/backup/backupManager.py index 40766ab5e..6a51d6ed3 100755 --- a/backup/backupManager.py +++ b/backup/backupManager.py @@ -49,6 +49,10 @@ class BackupManager: def backupSite(self, request=None, userID=None, data=None): currentACL = ACLManager.loadedACL(userID) websitesName = ACLManager.findAllSites(currentACL, userID) + + command = 'chmod 755 /home/backup' + ProcessUtilities.executioner(command) + proc = httpProc(request, 'backup/backup.html', {'websiteList': websitesName}, 'createBackup') return proc.render() diff --git a/plogical/Backupsv2.py b/plogical/Backupsv2.py index 4ecbaf705..d80d37b90 100644 --- a/plogical/Backupsv2.py +++ b/plogical/Backupsv2.py @@ -316,8 +316,8 @@ team_drive = command = f"mkdir -p {self.data['BasePath']}" ProcessUtilities.executioner(command) - command = f"chmod 711 {self.data['BasePath']}" - ProcessUtilities.executioner(command) + #command = f"chmod 711 {self.data['BasePath']}" + #ProcessUtilities.executioner(command) self.StartingTimeStamp = CPBackupsV2.FetchCurrentTimeStamp() @@ -904,8 +904,8 @@ team_drive = command = f"mkdir -p {self.data['BasePath']}" ProcessUtilities.executioner(command) - command = f"chmod 711 {self.data['BasePath']}" - ProcessUtilities.executioner(command) + #command = f"chmod 711 {self.data['BasePath']}" + #ProcessUtilities.executioner(command) self.StartingTimeStamp = CPBackupsV2.FetchCurrentTimeStamp()