Fix some permission issues
This commit is contained in:
parent
7865fbdf1f
commit
da1e9da495
3 changed files with 13 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue