Skip to content

Commit

Permalink
chmod vineyard socket mode to 777 (#1713)
Browse files Browse the repository at this point in the history
Signed-off-by: siyuan0322 <[email protected]>
  • Loading branch information
siyuan0322 authored Jan 17, 2024
1 parent b737472 commit 9dc9b37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/async/ipc_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ IPCServer::~IPCServer() {
void IPCServer::Start() {
std::string const& ipc_socket =
ipc_spec_["socket"].get_ref<std::string const&>();
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();
Expand Down

0 comments on commit 9dc9b37

Please sign in to comment.