This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
key permission problem $CYGWIN=ntea, OPENSSH
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: key permission problem $CYGWIN=ntea, OPENSSH
- From: "Colliver, Robert" <Colliver dot Robert at broadband dot att dot com>
- Date: Thu, 1 Nov 2001 09:42:55 -0700
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?
--
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/