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: <3BE1807E.937C152@rowman.com> Date: Thu, 01 Nov 2001 12:03:58 -0500 From: John Peacock MIME-Version: 1.0 To: "Colliver, Robert" CC: "'cygwin AT cygwin DOT com'" Subject: Re: key permission problem $CYGWIN=ntea, OPENSSH References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Colliver, Robert" wrote: > > After I set $CYGWIN=ntea I'm getting strange results chmod'ing files. > Specifcally my .ssh/id_dsa private key file for openssh. It needs to have > -rw------- permissions, but I'm seeing this: > > $ export $CYGWIN=ntea > $ chmod 600 id_dsa > $ ls -l id_dsa > -rw-r--r-- 1 Administ None 736 Oct 29 13:05 id_dsa > > At which point SSH fails because it thinks the key file is world readable. > So for grins I do this: > > $ export $CYGWIN="" > $ chmod 600 id_dsa > $ ls -l id_dsa > -rw-r--r-- 1 Administ None 736 Oct 29 13:05 id_dsa > > Now SSH is perfectly happy... But I can't figure out why. Is the flat file > that hold the extended attribute for "ntea" corrupted? Is your disk NTFS? If not, you are not able to take advantage of several features like ntea and ntsec (the latter is what you should be using anyways). Also, I have been advised to set the CYGWIN environment variable at the Windows level (i.e. before starting CygWin. It will provide more consistent results. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/