]> err.no Git - systemd/commitdiff
socket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues...
authorLennart Poettering <lennart@poettering.net>
Tue, 17 May 2011 17:37:23 +0000 (19:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 May 2011 17:37:23 +0000 (19:37 +0200)
src/socket.c

index 364d3169217d3b18a59de46c870255ec2372235c..2b9362db77e00b505d0c0a518e517fb5acc0f92e 100644 (file)
@@ -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;