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:
state-plumber
2026-05-12 20:39:55 +00:00
committed by GitHub
parent be5daeba7a
commit aaf263957b
4 changed files with 22 additions and 10 deletions

View File

@@ -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")
}