This is the mail archive of the
mailing list for the Cygwin project.
Re: permissions for auth socket in cygwin port of openssh
Thursday, 03 May, 2001 Corinna Vinschen firstname.lastname@example.org wrote:
>> >> 2001-04-28 Egor Duda <email@example.com>
>> >> * 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:firstname.lastname@example.org ICQ 5165414 FidoNet 2:5020/496.19