From 6823515964215b377056db2b9bb0fa4840e63a89 Mon Sep 17 00:00:00 2001
From: Roman Khlopkov <roman.khlopkov@demlabs.net>
Date: Fri, 3 Sep 2021 06:36:00 +0000
Subject: [PATCH] hotfix-4871-1

---
 CMakeLists.txt                            | 2 +-
 cellframe-sdk                             | 2 +-
 dist.linux/share/cellframe-node.service   | 2 +-
 dist/share/configs/cellframe-node.cfg.tpl | 5 +++--
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd1c3c75d..b2cbc2f9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
 SET( CPACK_PACKAGE_NAME  "${PROJECT_NAME}")
 SET( CPACK_PACKAGE_VERSION_MAJOR 4)
 SET( CPACK_PACKAGE_VERSION_MINOR 4)
-SET( CPACK_PACKAGE_VERSION_PATCH 38)
+SET( CPACK_PACKAGE_VERSION_PATCH 40)
 
 # init CellFrame SDK
 add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}-${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\"")
diff --git a/cellframe-sdk b/cellframe-sdk
index 15adb9aa3..911290862 160000
--- a/cellframe-sdk
+++ b/cellframe-sdk
@@ -1 +1 @@
-Subproject commit 15adb9aa35fad64d667729cf413e1d7587b6adc7
+Subproject commit 91129086292b7bfcc3f0cb056fc699bbe995763d
diff --git a/dist.linux/share/cellframe-node.service b/dist.linux/share/cellframe-node.service
index 7516a32a0..fafa0a2ee 100644
--- a/dist.linux/share/cellframe-node.service
+++ b/dist.linux/share/cellframe-node.service
@@ -15,7 +15,7 @@ Restart=always
 #Group=cellframe-node
 User=root
 Group=root
-#CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_IPC_LOCK CAP_KILL CAP_LEASE CAP_MKNOD CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RAWIO CAP_SYSLOG CAP_WAKE_ALARM
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_IPC_LOCK CAP_KILL CAP_LEASE CAP_MKNOD CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RAWIO CAP_SYSLOG CAP_WAKE_ALARM
 
 [Install]
 WantedBy=multi-user.target
diff --git a/dist/share/configs/cellframe-node.cfg.tpl b/dist/share/configs/cellframe-node.cfg.tpl
index 72834a736..32c27b944 100644
--- a/dist/share/configs/cellframe-node.cfg.tpl
+++ b/dist/share/configs/cellframe-node.cfg.tpl
@@ -100,7 +100,8 @@ enabled=true
 #listen_port_tcp=12345
 listen_unix_socket_path={PREFIX}/var/run/node_cli
 # Default permissions 770
-#listen_unix_socket_permissions=770
+# IMPORTANT! Its accessible for all the users in system!
+listen_unix_socket_permissions=777
 
 # Application Resources
 [resources]
@@ -124,4 +125,4 @@ dap_global_db_driver=sqlite3
 # Load Python-based plugins
 #py_load=false   
 # Path to Pyhon-based plugins
-#py_path={PREFIX}/var/lib/plugins
\ No newline at end of file
+#py_path={PREFIX}/var/lib/plugins
-- 
GitLab