This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh can't create .ssh directory

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 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                    
RFK Partners, Inc.            
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]