delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/29/22:44:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <jsp AT mail DOT utexas DOT edu>, <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: ssh can't create .ssh directory
In-Reply-To: <00e301c26676$ccee2b50$40cf5380@cvis.psy.utexas.edu>
Mime-Version: 1.0

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/

- Raw text -


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