From 211b75e014f158b050a9a2d46315c048afc8bf5b Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 9 Aug 2014 15:06:35 +1000 Subject: [PATCH] socket mode RWX not R+W --- src/libckpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libckpool.c b/src/libckpool.c index ea02ca48..57a66d78 100644 --- a/src/libckpool.c +++ b/src/libckpool.c @@ -499,7 +499,7 @@ void close_unix_socket(const int sockd, const char *server_path) int _open_unix_server(const char *server_path, const char *file, const char *func, const int line) { - mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; // Owner+Group R+W + mode_t mode = S_IRWXU | S_IRWXG; // Owner+Group RWX struct sockaddr_un serveraddr; int sockd = -1, len, ret; struct stat buf;