From 9131f660eedb29d18a29e6efff49c485e683c56c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 May 2011 19:37:23 +0200 Subject: [PATCH] socket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues need to be executable --- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.c b/src/socket.c index 364d3169..2b9362db 100644 --- a/src/socket.c +++ b/src/socket.c @@ -69,7 +69,7 @@ static void socket_init(Unit *u) { s->backlog = SOMAXCONN; s->timeout_usec = DEFAULT_TIMEOUT_USEC; s->directory_mode = 0755; - s->socket_mode = 0777; + s->socket_mode = 0666; s->max_connections = 64; -- 2.39.5