delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/01/11:43:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Server-Uuid: cda7734f-06b2-11d3-bc59-00805fbb2b22
Message-ID: <BF11C300DA60D5118A2900508BCF825B01396608@entcoexch05.tci.com>
From: "Colliver, Robert" <Colliver DOT Robert AT broadband DOT att DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: key permission problem $CYGWIN=ntea, OPENSSH
Date: Thu, 1 Nov 2001 09:42:55 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-WSS-ID: 17FFA41B59373-01-01

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019