Security fix: Incorrect permission assignment for critical resource
This commit is contained in:
parent
499e251796
commit
f097c029f3
10 changed files with 17 additions and 17 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue