aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-10-29 15:04:45 +0100
committerJose Bollo <jose.bollo@iot.bzh>2018-10-29 15:04:45 +0100
commitdc0836fcc3969b7f6bb34e1a0878b9750221ade0 (patch)
tree351ad2e8a6462806e7980b50b230052b4f88d048
parentd40fc40da829be0975411f98212c7c46a13712e9 (diff)
Install afm-user-daemon with correct rights
Install afm-user-daemon with rwx-r-xr-x instead of --x--x--x as before. Bug-AGL: SPEC-1846 Change-Id: Ie48d379f5f4cfe8ddf3192ebee85580b05e35b36 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dacbff2..f30ca38 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -183,7 +183,9 @@ if(libsystemd_FOUND AND AFB_FOUND)
install(TARGETS afm-binding LIBRARY DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/afm)
add_executable(afm-user-session afm-user-session.c)
- install(TARGETS afm-user-session DESTINATION ${CMAKE_INSTALL_BINDIR} PERMISSIONS SETUID OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
+ install(TARGETS afm-user-session DESTINATION ${CMAKE_INSTALL_BINDIR}
+ PERMISSIONS SETUID OWNER_READ OWNER_WRITE OWNER_EXECUTE
+ GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
else()
MESSAGE(STATUS "Not creating daemons")
endif()