Skip to content
Snippets Groups Projects
Commit 410e4a6b authored by sveseli's avatar sveseli
Browse files

fixed subdirectory permission issue

parent 085602bd
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,11 @@ class ExperimentManager(Singleton):
OsUtility.chmodPath(filePath, fileMode=self.FILE_PERMISSIONS_MODE)
self.logger.debug('Changing group owner for %s to %s' % (filePath, experimentName))
self.platformUtility.changePathGroupOwner(filePath, experimentName)
dirPath = os.path.dirname(filePath)
if dirPath != storageDirectory:
self.logger.debug('Changing group owner for experiment subdirectory %s to %s' % (dirPath, experimentName))
self.platformUtility.changePathGroupOwner(dirPath, experimentName)
self.logger.debug('Processing file %s' % filePath)
self.fileProcessingManager.processFile(fileInfo)
else:
......
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