mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
allow the group owner of the connection socket to access it
This commit is contained in:
@@ -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