Fix some permission issues

This commit is contained in:
nemunaire 2014-12-28 14:51:40 +01:00
commit da1e9da495
3 changed files with 13 additions and 7 deletions

View file

@ -348,6 +348,7 @@ sub create_socket
Type => SOCK_STREAM,
Listen => SOMAXCONN,
);
chmod 0660, $socket_path;
say "Socket listening on $socket_path; waiting for connections...";
while(my $connection = $socket->accept)