summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-17 19:37:23 +0200
committerLennart Poettering <lennart@poettering.net>2011-05-17 19:37:23 +0200
commit9131f660eedb29d18a29e6efff49c485e683c56c (patch)
treea799c1ef075f642a028c6177616d4ac31b31314d
parent916abb21d0a6653e0187b91591e492026886b0a4 (diff)
socket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues need to be executable
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 364d316921..2b9362db77 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;