From 420e13b648c51f0cf3c26c8892e05df698bc6e81 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 22 Dec 2012 09:17:31 -0800 Subject: [PATCH] core: Limit SDP unix socket to owner and group access --- src/sdpd-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdpd-server.c b/src/sdpd-server.c index 1d9509e00..30c7ae686 100644 --- a/src/sdpd-server.c +++ b/src/sdpd-server.c @@ -147,7 +147,7 @@ static int init_server(uint16_t mtu, int master, int compat) return -1; } - chmod(SDP_UNIX_PATH, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); + chmod(SDP_UNIX_PATH, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); return 0; } -- 2.47.3