mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 05:46: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:
@@ -293,7 +293,7 @@ func main() {
|
||||
|
||||
// Change user if requested
|
||||
if *chuserto != "" {
|
||||
err = chuser(*chuserto)
|
||||
err = chuser(*chuserto, cfg.AdminListen)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user