From 9dc9b378625e2ff0c9566ac4c82b41b03086cd10 Mon Sep 17 00:00:00 2001 From: Siyuan Zhang Date: Wed, 17 Jan 2024 16:34:24 +0800 Subject: [PATCH] chmod vineyard socket mode to 777 (#1713) Signed-off-by: siyuan0322 --- src/server/async/ipc_server.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/async/ipc_server.cc b/src/server/async/ipc_server.cc index 143db86e4..0a45b614a 100644 --- a/src/server/async/ipc_server.cc +++ b/src/server/async/ipc_server.cc @@ -129,8 +129,8 @@ IPCServer::~IPCServer() { void IPCServer::Start() { std::string const& ipc_socket = ipc_spec_["socket"].get_ref(); - chmod(ipc_socket.c_str(), - S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); + chmod(ipc_socket.c_str(), S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | + S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH); vs_ptr_->IPCReady(); SocketServer::Start();