This commit is contained in:
crusader 2017-10-27 11:21:27 +09:00
parent 1a1a4b7ff9
commit a4a116394d

View File

@ -10,7 +10,7 @@ func (sh *ServerHandlers) Listen() (l net.Listener, err error) {
// os.Remove(sh.path)
l, err = net.ListenUnix("unix", &net.UnixAddr{Name: sh.Addr, Net: "unix"})
os.Chmod(sh.Addr, 0700)
os.Chmod(sh.Addr, 0777)
return
}