adding chmod for sock.
fix start rcmdd bug.