]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod.c
Make local sockets world-readable.
[paraslash.git] / audiod.c
index 5909859be6384604513185afebbe35e7152e27be..2f9d5da3dbd6cc486dcc468d55bbbda7b0b41b6e 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -1072,7 +1072,7 @@ static void init_local_sockets(struct command_task *ct)
                unlink(socket_name);
        ct->fd[0] = create_local_socket(socket_name, 0);
        ct->fd[1] = create_local_socket(socket_name,
-               S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IWOTH);
+               S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
        if (ct->fd[0] >= 0 || ct->fd[1] >= 0)
                return;
        PARA_EMERG_LOG("%s\n", para_strerror(-ct->fd[1]));