From ae53051703d24bd90646652084fabefaa757e4fa 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/cmake@1260904 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- modules/TDEMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 1152cf6..54e5aca 100644 --- a/modules/TDEMacros.cmake +++ b/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 )