From 562755f3866281626addc4e3ad62f64c8c8f35c0 Mon Sep 17 00:00:00 2001 From: Fabio Zadrozny Date: Thu, 29 Aug 2024 16:45:46 -0300 Subject: [PATCH] Fix setting executable flag. --- sema4ai-python-ls-core/src/sema4ai_ls_core/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sema4ai-python-ls-core/src/sema4ai_ls_core/http.py b/sema4ai-python-ls-core/src/sema4ai_ls_core/http.py index e8ced8d9..31d5f35b 100644 --- a/sema4ai-python-ls-core/src/sema4ai_ls_core/http.py +++ b/sema4ai-python-ls-core/src/sema4ai_ls_core/http.py @@ -88,7 +88,7 @@ def download_with_resume( if make_executable: st = os.stat(target) - os.chmod(target, st.st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH) + os.chmod(target, st.st_mode | stat.S_IEXEC) return target