From: Lennart Poettering Date: Tue, 17 May 2011 17:37:23 +0000 (+0200) Subject: socket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues... X-Git-Tag: v27~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9131f660eedb29d18a29e6efff49c485e683c56c;p=systemd socket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues need to be executable --- 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;