From cf852972d1c40ce16a56b8e7d5fbf060716560eb Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Sun, 1 Feb 2015 00:34:23 +0300 Subject: [PATCH] Fixed samples install permissions for Debian packaging. --- cmake/OpenCVModule.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake index 17f305b13..1ca1ac0a1 100644 --- a/cmake/OpenCVModule.cmake +++ b/cmake/OpenCVModule.cmake @@ -893,7 +893,7 @@ function(ocv_add_samples) file(GLOB sample_files "${samples_path}/*") install(FILES ${sample_files} DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/${module_id} - PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples) + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ COMPONENT samples) endif() endfunction()