mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 13:56:30 +03:00
Change ownership of admin socket before dropping permissions (#1336)
This is to allow access to the socket by members of the group that permissions are dropped to.
This commit is contained in:
@@ -4,6 +4,6 @@ package main
|
||||
|
||||
import "errors"
|
||||
|
||||
func chuser(user string) error {
|
||||
func chuser(user, adminSockUrl string) error {
|
||||
return errors.New("setting uid/gid is not supported on this platform")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user