From 9c1864a674bf587b7c9a925e13d923d4fe8db27c Mon Sep 17 00:00:00 2001 From: Margarita KARPUNINA Date: Thu, 24 Nov 2022 15:50:58 +0300 Subject: [PATCH] [bos #32960] Wrong permissions of logs directory created on tests running Fixed by using makeDir function from salome_utils package --- bin/addToKillList.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/addToKillList.py b/bin/addToKillList.py index ea06c5755..840763306 100755 --- a/bin/addToKillList.py +++ b/bin/addToKillList.py @@ -78,7 +78,9 @@ def addToKillList(command_pid, command, port=None): if verbose(): print("addToKillList: %s : %s" % ( str(command_pid), command )) process_ids.append({int(command_pid): [command]}) dir = os.path.dirname(filedict) - if not os.path.exists(dir): os.makedirs(dir, 0o777) + if not os.path.exists(dir): + from salome_utils import makeDir + makeDir(dir) with open(filedict,'wb') as fpid: pickle.dump(process_ids, fpid) except Exception: -- 2.39.2