mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 09:44:51 +00:00
drop extra bit
This commit is contained in:
parent
b8be3c5101
commit
c968fa6ce3
|
@ -877,7 +877,7 @@ func (s *Server) handleAgentForward(ch ssh.Channel, req *ssh.Request, ctx *ctx)
|
|||
socketPath := filepath.Join(os.TempDir(), fmt.Sprintf("teleport-agent-%v.socket", uuid.New()))
|
||||
|
||||
agentServer := &teleagent.AgentServer{Agent: clientAgent}
|
||||
err = agentServer.ListenUnixSocket(socketPath, uid, gid, 0700)
|
||||
err = agentServer.ListenUnixSocket(socketPath, uid, gid, 0600)
|
||||
if err != nil {
|
||||
return trace.Wrap(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue