--- a/src/network.c Sun Mar 29 15:17:28 2026 +0200 +++ b/src/network.c Sun Mar 29 15:32:40 2026 +0200 @@ -32,6 +32,7 @@ #include <stdio.h> #include <unistd.h> #include <sys/un.h> +#include <sys/stat.h> #include "network.h" int net_create_tcp(Server *server, short port) { @@ -81,6 +82,7 @@ server->fd = -1; return 1; } else { + fchmod(server->fd, S_IRWXU | S_IRWXG | S_IRWXO); return 0; } } else {