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
pull/1/head v3.5.13
tpearson 13 years ago
parent f573351e65
commit ae53051703

@ -799,7 +799,7 @@ macro( tde_add_executable _arg_target )
# set destination directory # set destination directory
if( _destination ) if( _destination )
if( _setuid ) 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 ) else( _setuid )
install( TARGETS ${_target} DESTINATION ${_destination} ) install( TARGETS ${_target} DESTINATION ${_destination} )
endif( _setuid ) endif( _setuid )

Loading…
Cancel
Save