permissions for auth socket in cygwin port of openssh

egor duda deo@logos-m.ru
Thu May 3 08:54:00 GMT 2001


Hi!

Thursday, 03 May, 2001 Corinna Vinschen cygwin-apps@cygwin.com wrote:

>> >> 2001-04-28  Egor Duda  <deo@logos-m.ru>
>> >> 
>> >>         * 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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19




More information about the Cygwin-apps mailing list