From 295445afe0311295d32bd726c65608ddf4e8cecd Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Mon, 14 Nov 2016 17:39:32 -0800 Subject: [PATCH] fix to make RPC available across users --- src/tap.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tap.cpp b/src/tap.cpp index 337ed9e..4619254 100644 --- a/src/tap.cpp +++ b/src/tap.cpp @@ -141,6 +141,9 @@ NetconEthernetTap::NetconEthernetTap( #endif _unixListenSocket = _phy.unixListen(sockPath,(void *)this); + + chmod(sockPath, 0777); // To make the RPC socket available to all users + DEBUG_INFO("tap initialized on: path=%s", sockPath); if (!_unixListenSocket) DEBUG_ERROR("unable to bind to: path=%s", sockPath);