Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020929223501.022dcb28@pop.rcn.com> X-Sender: lhall AT pop DOT rcn DOT com Date: Sun, 29 Sep 2002 22:38:34 -0400 To: "Jeff Perry" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: ssh can't create .ssh directory In-Reply-To: <00e301c26676$ccee2b50$40cf5380@cvis.psy.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:39 PM 9/27/2002, Jeff Perry wrote: >I fixed my /etc/passwd file with mkpasswd -u uname -d domain, but it seemed >to have broken my ssh. When I try to ssh, it says, 'could not create >directory '/home/uname/.ssh'. If mv .ssh to .ssh.save and then try to run >ssh-keygen again, it complains that it can't create the .ssh directory. >Does someone know why this is true? The file permissions look correct, and >I chowned .ssh to make sure. You'll probably need to change permissions on /home/uname as well. Sounds to me like you've switched your user from being local to the domain one. If so, your previously created files and directories have permissions set for your local user. You need to change them all to use the domain user instead. While they may have the same user name, the IDs are different. This will cause many a complaint about permissions unless you make this change. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/