ing
This commit is contained in:
parent
1a1a4b7ff9
commit
a4a116394d
|
@ -10,7 +10,7 @@ func (sh *ServerHandlers) Listen() (l net.Listener, err error) {
|
||||||
// os.Remove(sh.path)
|
// os.Remove(sh.path)
|
||||||
l, err = net.ListenUnix("unix", &net.UnixAddr{Name: sh.Addr, Net: "unix"})
|
l, err = net.ListenUnix("unix", &net.UnixAddr{Name: sh.Addr, Net: "unix"})
|
||||||
|
|
||||||
os.Chmod(sh.Addr, 0700)
|
os.Chmod(sh.Addr, 0777)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user