Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Thu, 3 May 2001 19:52:27 +0400 From: egor duda X-Mailer: The Bat! (v1.45) Personal Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <149267979644.20010503195227@logos-m.ru> To: Corinna Vinschen Subject: Re: permissions for auth socket in cygwin port of openssh In-reply-To: <20010503173750.I24200@cygbert.vinschen.de> References: <7734862689 DOT 20010428210439 AT logos-m DOT ru> <20010503143453 DOT A3296 AT cygbert DOT vinschen DOT de> <117258690757 DOT 20010503171738 AT logos-m DOT ru> <20010503173750 DOT I24200 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Thursday, 03 May, 2001 Corinna Vinschen cygwin-apps AT cygwin DOT com wrote: >> >> 2001-04-28 Egor Duda >> >> >> >> * ssh-agent.c (main): On cygwin create auth socket with mode 600 >> >> CV> I have sent your patch to the openssh-unix-dev mailing list. >> CV> I had to change it slightly since the umask wasn't reverted >> CV> if bind fails in your patch. >> >> hmm. afaict, ssh-agent just exits if bind() fails. CV> You're right. Seems as if I was overcorrect. on a second thought it looks like it's better to revert umask, no matter what bind returned. just in case somebody will want to extend cleanup_exit() in future. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19