diff --git a/hub/route/server.go b/hub/route/server.go index 4c22609c..1810a707 100644 --- a/hub/route/server.go +++ b/hub/route/server.go @@ -228,6 +228,7 @@ func startUnix(cfg *Config) { log.Errorln("External controller unix listen error: %s", err) return } + _ = os.Chmod(addr, 0o666) log.Infoln("RESTful API unix listening at: %s", l.Addr().String()) server := &http.Server{