Skip to content
Snippets Groups Projects
Commit 15625ef1 authored by sveseli's avatar sveseli
Browse files

permission issue resolved

parent 3b06cd3c
No related branches found
No related tags found
No related merge requests found
...@@ -231,8 +231,8 @@ class ExperimentManager(Singleton): ...@@ -231,8 +231,8 @@ class ExperimentManager(Singleton):
if os.path.exists(directoryPath): if os.path.exists(directoryPath):
self.logger.debug('Processing directory path %s (directoryInfo: %s)' % (directoryPath, directoryInfo)) self.logger.debug('Processing directory path %s (directoryInfo: %s)' % (directoryPath, directoryInfo))
if self.manageStoragePermissions: if self.manageStoragePermissions:
self.logger.debug('Modifying permissions for directory %s' % directoryPath) self.logger.debug('Modifying permissions for directory %s to %s' % (directoryPath, self.DIR_PERMISSIONS_MODE))
OsUtility.chmodPath(directoryPath, fileMode=self.FILE_PERMISSIONS_MODE) OsUtility.chmodPath(directoryPath, dirMode=self.DIR_PERMISSIONS_MODE)
self.logger.debug('Changing group owner for %s to %s' % (directoryPath, experimentName)) self.logger.debug('Changing group owner for %s to %s' % (directoryPath, experimentName))
self.platformUtility.recursivelyChangePathGroupOwner(directoryPath, experimentName) self.platformUtility.recursivelyChangePathGroupOwner(directoryPath, experimentName)
# Recursively modify subdirectory permissions # Recursively modify subdirectory permissions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment