Skip to content
Permalink
Browse files

Fixed or adjusted permissions on installed files (#578)

  • Loading branch information...
dutor committed Jul 19, 2019
1 parent 5135258 commit 1df837546d04fa679f7d37d2ff6a85ec5c687fd8
Showing with 48 additions and 10 deletions.
  1. +12 −2 etc/CMakeLists.txt
  2. +22 −3 scripts/CMakeLists.txt
  3. +8 −3 share/CMakeLists.txt
  4. +6 −2 src/daemons/CMakeLists.txt
@@ -1,4 +1,14 @@
# These configuration files are for reference to generate your own customized ones.
# Thus, they are installed as read-only, even for the owner.
install(
FILES nebula-graphd.conf.default nebula-storaged.conf.default nebula-metad.conf.default
DESTINATION etc
FILES
nebula-graphd.conf.default
nebula-storaged.conf.default
nebula-metad.conf.default
PERMISSIONS
OWNER_READ
GROUP_READ
WORLD_READ
DESTINATION
etc
)
@@ -1,5 +1,24 @@
install(
FILES nebula-graphd.service nebula-storaged.service nebula-metad.service utils.sh nebula.service
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
DESTINATION scripts
FILES
nebula-graphd.service
nebula-storaged.service
nebula-metad.service
nebula.service
PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
WORLD_EXECUTE WORLD_READ
DESTINATION
scripts
)

install(
FILES
utils.sh
PERMISSIONS
OWNER_WRITE OWNER_READ
GROUP_READ
WORLD_READ
DESTINATION
scripts
)
@@ -1,5 +1,10 @@
install(
FILES resources/completion.json
PERMISSIONS OWNER_WRITE OWNER_READ
DESTINATION share/resources
FILES
resources/completion.json
PERMISSIONS
OWNER_WRITE OWNER_READ
GROUP_READ
WORLD_READ
DESTINATION
share/resources
)
@@ -108,6 +108,10 @@ nebula_link_libraries(


install(
TARGETS nebula-graphd nebula-storaged nebula-metad
DESTINATION bin
TARGETS
nebula-graphd
nebula-storaged
nebula-metad
DESTINATION
bin
)

0 comments on commit 1df8375

Please sign in to comment.
You can’t perform that action at this time.