Security fix: Incorrect permission assignment for critical resource

This commit is contained in:
nemunaire 2023-07-14 16:49:57 +02:00
parent 499e251796
commit f097c029f3
10 changed files with 17 additions and 17 deletions

View file

@ -124,7 +124,7 @@ func main() {
}
}
os.MkdirAll(path.Dir(*bind), 0777)
os.MkdirAll(path.Dir(*bind), 0751)
unixListener, err := net.Listen("unix", *bind)
if err != nil {