chiark / gitweb /
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 77bbe43..130f51c 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;