aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/listen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c
index ae2628069..00a21b81b 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -176,6 +176,10 @@ static void parseListenConfigParam(unsigned int port, ConfigParam * param)
if (establishListen(PF_UNIX, addrp, addrlen) < 0)
FATAL("unable to bind to %s: %s\n",
param->value, strerror(errno));
+
+ /* allow everybody to connect */
+ chmod(param->value, 0666);
+
#endif /* HAVE_UN */
} else {
#ifdef HAVE_TCP