1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

socket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues need to be executable

This commit is contained in:
Lennart Poettering 2011-05-17 19:37:23 +02:00
parent 916abb21d0
commit 9131f660ee

View 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;