From de9f8dc9831d921cd1ee30d5d14f45f0e345a8ca Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 8 May 2026 01:26:37 +0100 Subject: [PATCH] cmake: fix permissions for directories by default --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f1d95749..38ae94604 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -604,6 +604,12 @@ else() message(STATUS "hyprpm is enabled (NO_HYPRPM not defined)") endif() +# Set proper permissions for directories, otherwise they could end up 700 +set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS + OWNER_READ OWNER_WRITE OWNER_EXECUTE + GROUP_READ GROUP_EXECUTE + WORLD_READ WORLD_EXECUTE) + # binary and symlink install(TARGETS Hyprland)