This commit is contained in:
Aryan Dame 2025-06-05 00:51:06 +00:00 committed by GitHub
commit d1d5b03afc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
app.go
View file

@ -550,7 +550,7 @@ requests. We recommend supplying a valid host name.`)
} }
if network == "unix" { if network == "unix" {
err = os.Chmod(bindAddress, 0o666) err = os.Chmod(bindAddress, 0o600)
if err != nil { if err != nil {
log.Error("Could not update socket permissions: %v", err) log.Error("Could not update socket permissions: %v", err)
os.Exit(1) os.Exit(1)