X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=comstack%2Funix.c;h=22087ead5a08b4859402c264c6b5471b7740ba46;hb=eeb13f1ab726d5437a76bcc92927d7d756949821;hp=e5cd9e58d9cfea14b64fcaa8daef24347bcfe4a6;hpb=ba8d526ec24077c455979314147aaff20746a8ca;p=yaz-moved-to-github.git diff --git a/comstack/unix.c b/comstack/unix.c index e5cd9e5..22087ea 100644 --- a/comstack/unix.c +++ b/comstack/unix.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: unix.c,v 1.11 2003-03-03 19:57:35 adam Exp $ + * $Id: unix.c,v 1.12 2003-05-14 13:49:02 adam Exp $ * UNIX socket COMSTACK. By Morten Bøgeskov. */ #ifndef WIN32 @@ -292,6 +292,7 @@ static int unix_bind(COMSTACK h, void *address, int mode) h->cerrno = CSYSERR; return -1; } + chmod(path, 0777); if (mode == CS_SERVER && listen(h->iofile, 3) < 0) { h->cerrno = CSYSERR;