summaryrefslogtreecommitdiffstats
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
commitae53051703d24bd90646652084fabefaa757e4fa (patch)
treeb0b891cae2bb8e56fcea03bd4b32f9ba997dbb7a
parentf573351e651bcd43077ab7bad98b90bea2ac1ccc (diff)
downloadtde-cmake-ae530517.tar.gz
tde-cmake-ae530517.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/cmake@1260904 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
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 )