From b1cdb91139dbaa13b520e03e41dd6ad55e1e392e 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. (cherry picked from commit cf852972d1c40ce16a56b8e7d5fbf060716560eb) --- cmake/OpenCVModule.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake index 4a82402..ac793d5 100644 --- a/cmake/OpenCVModule.cmake +++ b/cmake/OpenCVModule.cmake @@ -865,7 +865,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() -- 2.7.4