From c5b07b63bc03726d2ae78086bc0023af5048bfb8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 26 Oct 2011 20:01:41 +0000 Subject: [PATCH] Enable owner write access on suid executables This does not change the security of said executables, as the owner always has the ability to chmod +w and then edit the file git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1260904 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- cmake/modules/TDEMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/TDEMacros.cmake b/cmake/modules/TDEMacros.cmake index 1152cf6..54e5aca 100644 --- a/cmake/modules/TDEMacros.cmake +++ b/cmake/modules/TDEMacros.cmake @@ -799,7 +799,7 @@ macro( tde_add_executable _arg_target ) # set destination directory if( _destination ) if( _setuid ) - install( TARGETS ${_target} DESTINATION ${_destination} PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE SETUID ) + install( TARGETS ${_target} DESTINATION ${_destination} PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE SETUID ) else( _setuid ) install( TARGETS ${_target} DESTINATION ${_destination} ) endif( _setuid )