summaryrefslogtreecommitdiffstats
path: root/cmake/modules/TDEMacros.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-26 20:01:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-26 20:01:41 +0000
commitc5b07b63bc03726d2ae78086bc0023af5048bfb8 (patch)
tree86c3b67977b802abce7b3f75f0ebc08971adffd1 /cmake/modules/TDEMacros.cmake
parent7723a908594eaf9d11bce22f6e7187b01ed4fbcc (diff)
downloadother-c5b07b63bc03726d2ae78086bc0023af5048bfb8.tar.gz
other-c5b07b63bc03726d2ae78086bc0023af5048bfb8.zip
Enable owner write access on suid executablesv3.5.13
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
Diffstat (limited to 'cmake/modules/TDEMacros.cmake')
-rw-r--r--cmake/modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
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 )