mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 17:19:05 -05:00
Merge topic 'cpackrpm_owner_execute'
f73ad97220 CPack/RPM: Fix debuginfo permissions check
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9603
This commit is contained in:
@@ -711,7 +711,7 @@ function(cpack_rpm_debugsymbol_check INSTALL_FILES WORKING_DIR)
|
||||
endif()
|
||||
|
||||
get_file_permissions("${WORKING_DIR}/${F}" permissions_)
|
||||
if(NOT "USER_EXECUTE" IN_LIST permissions_ AND
|
||||
if(NOT "OWNER_EXECUTE" IN_LIST permissions_ AND
|
||||
NOT "GROUP_EXECUTE" IN_LIST permissions_ AND
|
||||
NOT "WORLD_EXECUTE" IN_LIST permissions_)
|
||||
if(CPACK_RPM_INSTALL_WITH_EXEC)
|
||||
|
||||
Reference in New Issue
Block a user