allow the group owner of the connection socket to access it

This commit is contained in:
Nikos Mavrogiannopoulos
2014-09-23 16:42:30 +02:00
parent 4ea5a56ace
commit 56bcfffed7

View File

@@ -229,7 +229,7 @@ int _listen_ports(void *pool, struct cfg_st* config,
return -1;
}
umask(066);
umask(006);
ret = bind(s, (struct sockaddr *)&sa, SUN_LEN(&sa));
if (ret == -1) {
e = errno;