mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
allow the group owner of the connection socket to access it
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user