From 99dbcdf521f99203d4116b92bd27319e7ae6b553 Mon Sep 17 00:00:00 2001
From: Christopher Ruwisch <christopher.ruwisch@gmail.com>
Date: Wed, 4 Dec 2024 12:33:40 +0100
Subject: [PATCH] fixed rights in CMakeLists.txt for reconfiguration when
 executable is there

---
 aerodynamic_analysis/LiftingLine/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aerodynamic_analysis/LiftingLine/CMakeLists.txt b/aerodynamic_analysis/LiftingLine/CMakeLists.txt
index 29c6fd02..a18b99e5 100644
--- a/aerodynamic_analysis/LiftingLine/CMakeLists.txt
+++ b/aerodynamic_analysis/LiftingLine/CMakeLists.txt
@@ -35,9 +35,9 @@ if(NOT EXISTS ${OUTPUT_FILE})
 
         # Update file rights on none windows systems
         if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
-            message(STATUS "Changing file rights to --xr--r--")
+            message(STATUS "Changing file rights to r-xr--r--")
             file(CHMOD ${OUTPUT_FILE}
-                FILE_PERMISSIONS OWNER_EXECUTE GROUP_READ WORLD_READ)
+                FILE_PERMISSIONS OWNER_EXECUTE OWNER_READ GROUP_READ WORLD_READ)
         endif()
     else()
         message(FATAL_ERROR "Download failed with message: ${STATUS_MESSAGE}")
-- 
GitLab