summaryrefslogtreecommitdiffstats
path: root/tdekbdledsync/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-07-28 18:11:15 -0500
committerTimothy Pearson <[email protected]>2013-07-28 18:11:15 -0500
commit5a7a258f87bde70c23367a95a3af747379623afd (patch)
tree44cb25af503d20f4426ad62b447569651728356a /tdekbdledsync/CMakeLists.txt
parentb004fbafa92b03e7c55d3115329256224279ef21 (diff)
downloadtdebase-5a7a258f87bde70c23367a95a3af747379623afd.tar.gz
tdebase-5a7a258f87bde70c23367a95a3af747379623afd.zip
Install tdekbdledsync SUID root
Diffstat (limited to 'tdekbdledsync/CMakeLists.txt')
-rw-r--r--tdekbdledsync/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdekbdledsync/CMakeLists.txt b/tdekbdledsync/CMakeLists.txt
index 70ee0a96f..1fd78e7b3 100644
--- a/tdekbdledsync/CMakeLists.txt
+++ b/tdekbdledsync/CMakeLists.txt
@@ -26,3 +26,6 @@ tde_add_executable( tdekbdledsync
LINK udev X11
DESTINATION ${BIN_INSTALL_DIR}
)
+
+install( CODE "execute_process( COMMAND chown 0 \$ENV{DESTDIR}${_destination}/tdekbdledsync )" )
+install( CODE "execute_process( COMMAND chmod 4755 \$ENV{DESTDIR}${_destination}/tdekbdledsync )" )