Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <397F4E2A.1E23CD15@cygnus.com> Date: Wed, 26 Jul 2000 22:46:34 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: "Joseph M. Reagle Jr." CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: ssh-agent, ntsec, and tmp permissions References: <3 DOT 0 DOT 5 DOT 32 DOT 20000725143356 DOT 029fe1b8 AT localhost> <3 DOT 0 DOT 5 DOT 32 DOT 20000725161138 DOT 019a44a0 AT localhost> <3 DOT 0 DOT 5 DOT 32 DOT 20000726160642 DOT 01416bc0 AT localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Joseph M. Reagle Jr." wrote: > > At 16:37 7/25/2000 -0400, Sergey Okhapkin wrote: > >> >Try to enable ntsec cygwin feature. > >> > >> hrmm... the documentation says it should be on default, but I guess it > >> isn't. It doesn't even say how to enable it, I presume ntsec=yes in my > >> .bashrc? > > > >export CYGWIN=$CYGWIN ntsec > > I'm having difficulty geting ssh-agent to work -- I believe it is an ntsec > issue. I've enabled ntsec and have the ability to chown and chmod. When I > instantiate ssh-agent it creates /tmp/ssh-reagle but fails to write a PID. > > By deafult I get a ssh-agent exit of "bind: permission denied error" > > If I: > chmod 1777 /tmp > chmod 1777 /ssh-reagle > I get a bad modes error on /tmp/ssh-reagle > > If I: > chmod 1777 /tmp > chmod 1700 /tmp/ssh-reagle > I get a ssh-agent exit of "bind: permission denied error" (nor can I cd into > ssh-reagle ...?) You are not using OpenSSH, do you? AFAICS, the naming of the tmp subdirectories follows another scheme. I have just tried ssh-agent from OpenSSH and I had no problems. I'm using ntsec on W2K. If you want to try OpenSSH you can find it in ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/V1.1.1 Corinna -- Corinna Vinschen Cygwin Developer Cygnus Solutions, a Red Hat company -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com