From 3996413a8f12d7f8f0a3d5d0f4ef6ff300180de6 Mon Sep 17 00:00:00 2001 From: Wojciech Janota Date: Wed, 28 Dec 2022 17:52:59 +0100 Subject: [PATCH] WIP --- utils/MachineData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/MachineData.py b/utils/MachineData.py index fd0a560..aae0583 100644 --- a/utils/MachineData.py +++ b/utils/MachineData.py @@ -87,7 +87,7 @@ class MachineData(): result_file.close() st = os.stat(file_path) - os.chmod(file_path, st.st_mode | stat.S_IEXEC) + os.chmod(file_path, 0o0777) except Exception as ex: print(str(ex))