]> err.no Git - systemd/commitdiff
socket: use 777 as default mode for sockets
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Mar 2011 04:37:14 +0000 (05:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Mar 2011 14:37:09 +0000 (15:37 +0100)
src/socket.c

index 77bbe43ee19f884929cb09a499a71ae102f7d67b..130f51c0789927ded5e5375ede69498a372bcac0 100644 (file)
@@ -67,7 +67,7 @@ static void socket_init(Unit *u) {
         s->backlog = SOMAXCONN;
         s->timeout_usec = DEFAULT_TIMEOUT_USEC;
         s->directory_mode = 0755;
-        s->socket_mode = 0666;
+        s->socket_mode = 0777;
 
         s->max_connections = 64;